ARM: dts: msm: enable cm36283 LP sensor
Device tree for Capella cm36283 LP sensor.
Change-Id: I86abf45ab95c8117066557ee70282fcb263e2c86
Signed-off-by: mengmeng <mengmeng@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8610-mtp.dtsi b/arch/arm/boot/dts/msm8610-mtp.dtsi
index 7e80d19..8ed6ae2 100644
--- a/arch/arm/boot/dts/msm8610-mtp.dtsi
+++ b/arch/arm/boot/dts/msm8610-mtp.dtsi
@@ -114,6 +114,23 @@
fsl,irq-gpio = <&msmgpio 81 0x00>;
fsl,sensors-position = <5>;
};
+ capella@60 {
+ compatible = "capella,cm36283";
+ reg = <0x60>;
+ interrupt-parent = <&msmgpio>;
+ interrupts = <80 0x2>;
+ vdd-supply = <&pm8110_l19>;
+ vio-supply = <&pm8110_l14>;
+ capella,use-polling;
+ capella,interrupt-gpio = <&msmgpio 80 0x2>;
+ capella,levels = <0x0A 0xA0 0xE1 0x140 0x280 0x500 0xA28 0x16A8 0x1F40
+ 0x2800>;
+ capella,ps_close_thd_set = <0xa>;
+ capella,ps_away_thd_set = <0x5>;
+ capella,ls_cmd = <0x44>; /* PS_IT=160ms, INT_PERS=2*/
+ capella,ps_conf1_val = <0x0006>;
+ capella,ps_conf3_val = <0x3010>;
+ };
};
gen-vkeys {