]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: tegra: Update AHUB clock parent and rate on Tegra234
authorSheetal <sheetal@nvidia.com>
Thu, 29 Jun 2023 05:12:16 +0000 (10:42 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Jul 2023 15:13:24 +0000 (17:13 +0200)
commite483fe34adab3197558b7284044c1b26f5ede20e
tree53ed6fb262d062da3c7fcdfa20c48130e8c496ac
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
arm64: tegra: Update AHUB clock parent and rate on Tegra234

I2S data sanity tests fail beyond a bit clock frequency of 6.144MHz.
This happens because the AHUB clock rate is too low and it shows
9.83MHz on boot.

The maximum rate of PLLA_OUT0 is 49.152MHz and is used to serve I/O
clocks. It is recommended that AHUB clock operates higher than this.
Thus fix this by using PLLP_OUT0 as parent clock for AHUB instead of
PLLA_OUT0 and fix the rate to 81.6MHz.

Fixes: dc94a94daa39 ("arm64: tegra: Add audio devices on Tegra234")
Cc: stable@vger.kernel.org
Signed-off-by: Sheetal <sheetal@nvidia.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234.dtsi