ARM: dts: rockchip: fix vref-supply for &saradc node rk3288 firefly reload
authorJohan Jonker <jbx6244@gmail.com>
Sat, 14 Mar 2020 14:07:55 +0000 (15:07 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 17 Mar 2020 00:21:48 +0000 (01:21 +0100)
A test with the command below gives this error:

arch/arm/boot/dts/rk3288-firefly-reload.dt.yaml: saradc@ff100000:
'vref-supply' is a required property

PMIC Channel OUT11 with powername 'vcc_18'
(connected through R155 bridge with 'vccio_wl')
is used for the recovery key and ADC_AVDD_1V8.

Fix error by adding 'vcc_18' as vref for the saradc.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/iio/adc/
rockchip-saradc.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200314140755.4877-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-firefly-reload.dts

index 1574383fd2dc6175200e41487de728eb8ce9d250..8c38bda21a7c940aa476ba802dda776803cf466a 100644 (file)
 };
 
 &saradc {
+       vref-supply = <&vcc_18>;
        status = "okay";
 };