Skip to content

Commit 9ff4429

Browse files
moonlinuxKelsey Skunberg
authored andcommitted
ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
BugLink: https://bugs.launchpad.net/bugs/1946024 [ Upstream commit 72ccc37 ] 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. [ 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: 087a1d8 ("ARM: dts: meson8b: ec100: add the VDDEE regulator") Fixes: 3e7db1c ("ARM: dts: meson8b: ec100: improve the description of the regulators") Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20210705112358.3554-4-linux.amoon@gmail.com Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
1 parent 4438a20 commit 9ff4429

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
regulator-min-microvolt = <860000>;
149149
regulator-max-microvolt = <1140000>;
150150

151-
vin-supply = <&vcc_5v>;
151+
pwm-supply = <&vcc_5v>;
152152

153153
pwms = <&pwm_cd 0 1148 0>;
154154
pwm-dutycycle-range = <100 0>;
@@ -232,7 +232,7 @@
232232
regulator-min-microvolt = <860000>;
233233
regulator-max-microvolt = <1140000>;
234234

235-
vin-supply = <&vcc_5v>;
235+
pwm-supply = <&vcc_5v>;
236236

237237
pwms = <&pwm_cd 1 1148 0>;
238238
pwm-dutycycle-range = <100 0>;

0 commit comments

Comments
 (0)