Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 690f8e74 authored by Bingzhe Cai's avatar Bingzhe Cai
Browse files

ARM: dts: msm: enable magnetic field sensor for SKUI



Add device tree to enable MEMSIC MMC3416 magnetic field sensor
for SKUI.

Change-Id: I4b9ab2209f76ebee31b5ca137c7cb71f62fcd826
Signed-off-by: default avatarBingzhe Cai <bingzhec@codeaurora.org>
parent b30b0eb9
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@
		avago,als_D = <142>;
		avago,ga_value = <48>;
	};

	bosch@18 { /* Accelerometer sensor */
		compatible = "bosch,bma2x2";
		reg = <0x18>;
@@ -198,6 +199,15 @@
		bosch,gpio-int1 = <&msm_gpio 112 0x2002>;
		bosch,gpio-int2 = <&msm_gpio 114 0x2002>;
	};

	mmc@30 { /* Magnetic field sensor */
		compatible = "mmc,mmc3416x";
		reg = <0x30>;
		vdd-supply = <&pm8916_l17>;
		vio-supply = <&pm8916_l6>;
		mmc,dir = <1>;
		mmc,auto-report;
	};
};

&sdhc_2 {