]> Git Repo - linux.git/commitdiff
arm64: dts: meson: odroid-n2 plus: fix vddcpu_a pwm
authorJerome Brunet <[email protected]>
Fri, 23 Oct 2020 09:41:39 +0000 (11:41 +0200)
committerKevin Hilman <[email protected]>
Fri, 23 Oct 2020 18:12:54 +0000 (11:12 -0700)
On the odroid N2 plus, cpufreq is not available due to an error on the cpu
regulators. vddcpu a and b get the same PWM. The one provided to vddcpu A
is incorrect. Because vddcpu B PWM is busy the regulator cannot register:

> pwm-regulator regulator-vddcpu-b: Failed to get PWM: -16

Like on the odroid n2, use PWM A out of GPIOE_2 for vddcpu A to fix the
problem

Fixes: 98d24896ee11 ("arm64: dts: meson: add support for the ODROID-N2+")
Signed-off-by: Jerome Brunet <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts

index 5de2815ba99de9627aa7c7954df376c1c74fd9d3..ce1198ad34e425ea9077dea51a263dfd9238b63f 100644 (file)
@@ -19,7 +19,7 @@
        regulator-min-microvolt = <680000>;
        regulator-max-microvolt = <1040000>;
 
-       pwms = <&pwm_AO_cd 1 1500 0>;
+       pwms = <&pwm_ab 0 1500 0>;
 };
 
 &vddcpu_b {
This page took 0.051275 seconds and 4 git commands to generate.