ARM: dts: imx6qdl-sabresd: add regulators control for mag3110 sensor
authorAnson Huang <anson.huang@nxp.com>
Thu, 7 Feb 2019 15:18:34 +0000 (15:18 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 12 Feb 2019 09:17:11 +0000 (17:17 +0800)
The mag3110 sensor driver has supported regulators control,
assign the power supplies for mag3110 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 21e03b1..618f186 100644 (file)
                pinctrl-0 = <&pinctrl_i2c3_mag3110_int>;
                interrupt-parent = <&gpio3>;
                interrupts = <16 IRQ_TYPE_EDGE_RISING>;
+               vdd-supply = <&reg_sensors>;
+               vddio-supply = <&reg_sensors>;
        };
 
        light-sensor@44 {