The mma8451 sensor driver has supported regulators control,
assign the power supplies for mma8451 to enable the control.

Signed-off-by: Anson Huang <anson.hu...@nxp.com>
---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi 
b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 618f186a..80b9901 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -250,6 +250,8 @@
                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 {
-- 
2.7.4

Reply via email to