Skip to content

Commit 632062e

Browse files
moonlinuxsuperna9999
authored andcommitted
ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
After enabling CONFIG_REGULATOR_DEBUG=y we observer below debug logs. Changes help link VCCK and VDDEE pwm regulator to 5V regulator supply instead of dummy regulator. Add missing pwm-supply for regulator-vcck regulator node. [ 7.117140] pwm-regulator regulator-vcck: Looking up pwm-supply from device tree [ 7.117153] pwm-regulator regulator-vcck: Looking up pwm-supply property in node /regulator-vcck failed [ 7.117184] VCCK: supplied by regulator-dummy [ 7.117194] regulator-dummy: could not add device link regulator.8: -ENOENT [ 7.117266] VCCK: 860 <--> 1140 mV at 986 mV, enabled [ 7.118498] VDDEE: will resolve supply early: pwm [ 7.118515] pwm-regulator regulator-vddee: Looking up pwm-supply from device tree [ 7.118526] pwm-regulator regulator-vddee: Looking up pwm-supply property in node /regulator-vddee failed [ 7.118553] VDDEE: supplied by regulator-dummy [ 7.118563] regulator-dummy: could not add device link regulator.9: -ENOENT Fixes: dee51cd ("ARM: dts: meson8b: mxq: add the VDDEE regulator") Fixes: d94f60e ("ARM: dts: meson8b: mxq: improve support for the TRONFY MXQ S805") Cc: Martin Blumenstingl <[email protected]> Signed-off-by: Anand Moon <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 876228e commit 632062e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/boot/dts/meson8b-mxq.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
regulator-min-microvolt = <860000>;
3535
regulator-max-microvolt = <1140000>;
3636

37+
pwm-supply = <&vcc_5v>;
38+
3739
pwms = <&pwm_cd 0 1148 0>;
3840
pwm-dutycycle-range = <100 0>;
3941

@@ -79,7 +81,7 @@
7981
regulator-min-microvolt = <860000>;
8082
regulator-max-microvolt = <1140000>;
8183

82-
vin-supply = <&vcc_5v>;
84+
pwm-supply = <&vcc_5v>;
8385

8486
pwms = <&pwm_cd 1 1148 0>;
8587
pwm-dutycycle-range = <100 0>;

0 commit comments

Comments
 (0)