[PATCH V1 0/2] ARM: dt: add ALS and proximity sensor ISL29028

April 17th, 2012 - 02:20 am ET by Laxman Dewangan | Report spam
Add the entry of ISL29028 in dts file of tegra_cardhu and the tegra
defconfig file for building it.

Laxman Dewangan (2):
ARM: dt: tegra_cardhu: als and proximity sensor isl29028 support
ARM: config: tegra: add ISL29028

arch/arm/boot/dts/tegra-cardhu.dts | 6 ++++++
arch/arm/configs/tegra_defconfig | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Laxman Dewangan
April 17th, 2012 - 02:20 am ET | Report spam
Add the device info for ALS and proximity sensor isl29028.
This device is connected on i2c2 bus.

Signed-off-by: Laxman Dewangan

arch/arm/boot/dts/tegra-cardhu.dts | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra-cardhu.dts b/arch/arm/boot/dts/tegra-cardhu.dts
index ab8d901..30cbd14 100644
a/arch/arm/boot/dts/tegra-cardhu.dts
+++ b/arch/arm/boot/dts/tegra-cardhu.dts
@@ -93,6 +93,12 @@

{
clock-frequency = <100000>;
+
+ /* ALS and Proximity sensor */
+ isl29028: {
+ compatible = "isl,isl29028";
+ reg = <0x44>;
+ };
};

{
1.7.1.1

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Similar topics