]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
clk: tegra: Fix maximum audio sync clock for Tegra124/210
authorJon Hunter <jonathanh@nvidia.com>
Mon, 3 Dec 2018 10:28:40 +0000 (10:28 +0000)
committerStephen Boyd <sboyd@kernel.org>
Fri, 14 Dec 2018 21:32:55 +0000 (13:32 -0800)
commit845d782d91448e0fbca686bca2cc9f9c2a9ba3e7
treef1f931f9739a3f7bdf8e2d6b13fc963585f13867
parent7514557c1c57c1973b7c2c6095c160f0a18f5da1
clk: tegra: Fix maximum audio sync clock for Tegra124/210

The maximum frequency supported for I2S on Tegra124 and Tegra210 is
24.576MHz (as stated in the Tegra TK1 data sheet for Tegra124 and the
Jetson TX1 module data sheet for Tegra210). However, the maximum I2S
frequency is limited to 24MHz because that is the maximum frequency of
the audio sync clock. Increase the maximum audio sync clock frequency
to 24.576MHz for Tegra124 and Tegra210 in order to support 24.576MHz
for I2S.

Update the tegra_clk_register_sync_source() function so that it does
not set the initial rate for the sync clocks and use the clock init
tables to set the initial rate instead.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-audio-sync.c
drivers/clk/tegra/clk-tegra-audio.c
drivers/clk/tegra/clk-tegra114.c
drivers/clk/tegra/clk-tegra124.c
drivers/clk/tegra/clk-tegra210.c
drivers/clk/tegra/clk-tegra30.c
drivers/clk/tegra/clk.h