forked from rubenslte/android_kernel_samsung_msm8226
ARM: dts: msm: enable cm36283 LP sensor
Device tree for Capella cm36283 LP sensor. Change-Id: I86abf45ab95c8117066557ee70282fcb263e2c86 Signed-off-by: mengmeng <mengmeng@codeaurora.org>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user