提交 b46b0b54 编写于 作者: L Laxman Dewangan 提交者: Stephen Warren

ARM: dt: tegra: enable als and proximity sensor

Add the device info for ALS and proximity sensor for tegra
boards cardhu, ventana and seaboard.
Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
[swarren: s/PZ02/PZ2/ in .dts files, s/seabridge/seaboard/ in commit
 description]
Signed-off-by: NStephen Warren <swarren@nvidia.com>
上级 aef7704c
...@@ -84,6 +84,14 @@ ...@@ -84,6 +84,14 @@
i2c@7000c500 { i2c@7000c500 {
clock-frequency = <100000>; clock-frequency = <100000>;
/* ALS and Proximity sensor */
isl29028@44 {
compatible = "isil,isl29028";
reg = <0x44>;
interrupt-parent = <&gpio>;
interrupts = <88 0x04>; /*gpio PL0 */
};
}; };
i2c@7000c700 { i2c@7000c700 {
......
...@@ -270,6 +270,14 @@ ...@@ -270,6 +270,14 @@
micdet-delay = <100>; micdet-delay = <100>;
gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >;
}; };
/* ALS and proximity sensor */
isl29018@44 {
compatible = "isil,isl29018";
reg = <0x44>;
interrupt-parent = <&gpio>;
interrupts = < 202 0x04 >; /* GPIO PZ2 */
};
}; };
i2c@7000c400 { i2c@7000c400 {
......
...@@ -256,6 +256,14 @@ ...@@ -256,6 +256,14 @@
micdet-delay = <100>; micdet-delay = <100>;
gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >;
}; };
/* ALS and proximity sensor */
isl29018@44 {
compatible = "isil,isl29018";
reg = <0x44>;
interrupt-parent = <&gpio>;
interrupts = <202 0x04>; /*gpio PZ2 */
};
}; };
i2c@7000c400 { i2c@7000c400 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册