ARM: dts: imx6qdl-sabresd: add regulator control for isl29023 sensor
authorAnson Huang <anson.huang@nxp.com>
Thu, 7 Feb 2019 15:18:30 +0000 (15:18 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 12 Feb 2019 09:17:11 +0000 (17:17 +0800)
The isl29023 light sensor driver has supported regulator control,
assign the power supply for isl29023 to enable the control.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 8930aec..21e03b1 100644 (file)
                pinctrl-0 = <&pinctrl_i2c3_isl29023_int>;
                interrupt-parent = <&gpio3>;
                interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+               vcc-supply = <&reg_sensors>;
        };
 };