OSDN Git Service

ARM: dts: imx6qdl-sabresd: add regulators control for mma8451 sensor
authorAnson Huang <anson.huang@nxp.com>
Thu, 7 Feb 2019 15:18:38 +0000 (15:18 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 12 Feb 2019 09:17:11 +0000 (17:17 +0800)
The mma8451 sensor driver has supported regulators control,
assign the power supplies for mma8451 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 618f186..80b9901 100644 (file)
                pinctrl-0 = <&pinctrl_i2c1_mma8451_int>;
                interrupt-parent = <&gpio1>;
                interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
+               vdd-supply = <&reg_sensors>;
+               vddio-supply = <&reg_sensors>;
        };
 
        ov5642: camera@3c {