]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 19 Feb 2021 15:45:37 +0000 (16:45 +0100)
commita61eaa043157e22be48c8fd1c3be600062248fa8
treebf53804bc3d5fd3ad752f5f5694179dfcb1e8bd5
parent47a863ec654f0ce336dbf001e8ddae11a62ef911
clk: tegra30: Add hda clock default rates to clock driver

BugLink: https://bugs.launchpad.net/bugs/1915195
[ Upstream commit f4eccc7fea203cfb35205891eced1ab51836f362 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
drivers/clk/tegra/clk-tegra30.c