]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpufreq: tegra186: Initialize all cores to max frequencies
authorAaron Kling <webgeek1234@gmail.com>
Fri, 29 Aug 2025 02:48:13 +0000 (21:48 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:37 +0000 (15:37 -0500)
commiteefea729934f49060542fad2d3eaf8d3301dd5f2
treeef8134b53bcecfa58e9932b93dfcd9c6d59dcdea
parent7e438c9d91189f73ceb951260a3b53a7f9076c45
cpufreq: tegra186: Initialize all cores to max frequencies

[ Upstream commit ba6018929165fc914c665f071f8e8cdbac844a49 ]

During initialization, the EDVD_COREx_VOLT_FREQ registers for some cores
are still at reset values and not reflecting the actual frequency. This
causes get calls to fail. Set all cores to their respective max
frequency during probe to initialize the registers to working values.

Suggested-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/tegra186-cpufreq.c