clk: tegra30: Add hda clock default rates to clock driver
authorPeter Geis <pgwipeout@gmail.com>
Fri, 8 Jan 2021 13:59:12 +0000 (13:59 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Jan 2021 13:43:53 +0000 (14:43 +0100)
commitf4eccc7fea203cfb35205891eced1ab51836f362
tree37fe7d87a9cc3444455db0b666e72c36fb03c2c4
parent3e096a2112b7b407549020cf095e2a425f00fabb
clk: tegra30: Add hda clock default rates to clock driver

Current implementation defaults the hda clocks to clk_m. This causes hda
to run too slow to operate correctly. Fix this by defaulting to pll_p and
setting the frequency to the correct rate.

This matches upstream t124 and downstream t30.

Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Ion Agorria <ion@agorria.com>
Acked-by: Sameer Pujar <spujar@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20210108135913.2421585-2-pgwipeout@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/clk/tegra/clk-tegra30.c