arm64: dts: meson-g12a: Fix the pwm regulator supply properties
authorAnand Moon <linux.amoon@gmail.com>
Sun, 19 Sep 2021 20:29:09 +0000 (20:29 +0000)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 21 Sep 2021 07:21:53 +0000 (09:21 +0200)
commit085675117ecf5e02c4220698fd549024ec64ad2c
tree0ecf2d6a6f8f87a72a640876499b44adf55b0fc8
parent9450f63ba4d1915d8d605bad6454fc82522d95d7
arm64: dts: meson-g12a: Fix the pwm regulator supply properties

After enabling CONFIG_REGULATOR_DEBUG=y we observe below debug logs.
Changes help link VDDCPU pwm regulator to 12V regulator supply
instead of dummy regulator.

[   11.602281] pwm-regulator regulator-vddcpu: Looking up pwm-supply property
               in node /regulator-vddcpu failed
[   11.602344] VDDCPU: supplied by regulator-dummy
[   11.602365] regulator-dummy: could not add device link regulator.11: -ENOENT
[   11.602548] VDDCPU: 721 <--> 1022 mV at 1022 mV, enabled

Fixes: e9bc0765cc12 ("arm64: dts: meson-g12a: enable DVFS on G12A boards")
Cc: Neil Armstrong <narmstrong@baylibre.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/20210919202918.3556-2-linux.amoon@gmail.com
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts