diff mbox series

[3/3] ARM: dts: imx6ul-14x14-evk: Assign power supplies for magnetometer

Message ID 1571906920-29966-3-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Mainlined
Commit 2c661547f27fef351cebe99bbcf7df9793832d16
Headers show
Series [1/3] ARM: dts: imx6ul-14x14-evk: Add sensors' GPIO regulator | expand

Commit Message

Anson Huang Oct. 24, 2019, 8:48 a.m. UTC
On i.MX6UL 14x14 EVK board, mag3110's power is controlled by
sensor regulator, assign power supplies for mag3110 driver
to do power management.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
index c74ba60..7b155ed 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
+++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
@@ -193,6 +193,8 @@ 
 	magnetometer@e {
 		compatible = "fsl,mag3110";
 		reg = <0x0e>;
+		vdd-supply = <&reg_sensors>;
+		vddio-supply = <&reg_sensors>;
 	};
 };