Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: Populate OPP table for Tegra20 Ventana

Commit 9ce274630495 ("cpufreq: tegra20: Use generic cpufreq-dt driver
(Tegra30 supported now)") update the Tegra20 CPUFREQ driver to use the
generic CPUFREQ device-tree driver. Since this change CPUFREQ support
on the Tegra20 Ventana platform has been broken because the necessary
device-tree nodes with the operating point information are not populated
for this platform. Fix this by updating device-tree for Venata to
include the operating point informration for Tegra20.

Fixes: 9ce274630495 ("cpufreq: tegra20: Use generic cpufreq-dt driver (Tegra30 supported now)")
Cc: stable@vger.kernel.org
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Jon Hunter and committed by
Thierry Reding
bd7cd7e0 a21f18a9

+11
+11
arch/arm/boot/dts/tegra20-ventana.dts
··· 3 3 4 4 #include <dt-bindings/input/input.h> 5 5 #include "tegra20.dtsi" 6 + #include "tegra20-cpu-opp.dtsi" 6 7 7 8 / { 8 9 model = "NVIDIA Tegra20 Ventana evaluation board"; ··· 591 590 compatible = "fixed-clock"; 592 591 clock-frequency = <32768>; 593 592 #clock-cells = <0>; 593 + }; 594 + 595 + cpus { 596 + cpu0: cpu@0 { 597 + operating-points-v2 = <&cpu0_opp_table>; 598 + }; 599 + 600 + cpu@1 { 601 + operating-points-v2 = <&cpu0_opp_table>; 602 + }; 594 603 }; 595 604 596 605 gpio-keys {