]> nv-tegra.nvidia Code Review - linux-4.4.git/commit
clk: tegra: Fix maximum audio sync clock for Tegra210
authorJon Hunter <jonathanh@nvidia.com>
Wed, 8 Nov 2017 17:39:58 +0000 (17:39 +0000)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 14 Nov 2017 19:02:30 +0000 (11:02 -0800)
commiteb0d70b1e65320f321124a32ec190720b7130c83
tree58dd74032f161daa956f7e67ea82193b9ed54673
parent7e098fefec8976cf2bfe4890288d89dae0bf4c65
clk: tegra: Fix maximum audio sync clock for Tegra210

The maximum frequency supported for I2S on Tegra210 is 24.576MHz.
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 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.

Please note that this is a regression from Linux v3.10.

Bug 2020021

Change-Id: If0a7b4d4f11acd86e9a7c4b7a077985ed6aef2ce
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1594562
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/clk/tegra/clk-audio-sync.c
drivers/clk/tegra/clk-tegra-audio.c
drivers/clk/tegra/clk-tegra114.c
drivers/clk/tegra/clk-tegra210.c
drivers/clk/tegra/clk-tegra30.c
drivers/clk/tegra/clk.h