From: Laxman Dewangan <ldewangan@nvidia.com>
To: grant.likely@secretlab.ca, rob.herring@calxeda.com,
rob@landley.net, linux@arm.linux.org.uk, jic23@cam.ac.uk,
gregkh@linuxfoundation.org, swarren@nvidia.com, olof@lixom.net,
devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
linux-tegra@vger.kernel.org
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Subject: [PATCH V2 3/4] ARM: dt: tegra: enable als and proximity sensor
Date: Mon, 23 Apr 2012 17:41:36 +0530 [thread overview]
Message-ID: <1335183097-21104-5-git-send-email-ldewangan@nvidia.com> (raw)
In-Reply-To: <1335183097-21104-1-git-send-email-ldewangan@nvidia.com>
Add the device info for ALS and proximity sensor for tegra
boards cardhu, ventana and seabridge.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
Changes from V1:
- remove labels.
- added interrupt numbers.
arch/arm/boot/dts/tegra-cardhu.dts | 8 ++++++++
arch/arm/boot/dts/tegra-seaboard.dts | 8 ++++++++
arch/arm/boot/dts/tegra-ventana.dts | 8 ++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/tegra-cardhu.dts b/arch/arm/boot/dts/tegra-cardhu.dts
index ab8d901..facb950 100644
--- a/arch/arm/boot/dts/tegra-cardhu.dts
+++ b/arch/arm/boot/dts/tegra-cardhu.dts
@@ -93,6 +93,14 @@
i2c@7000c500 {
clock-frequency = <100000>;
+
+ /* ALS and Proximity sensor */
+ isl29028@44 {
+ compatible = "isil,isl29028";
+ reg = <0x44>;
+ interrupt-parent = <&gpio>;
+ interrupts = <88 0x04>; /*gpio PL0 */
+ };
};
i2c@7000c700 {
diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts
index ed0a2f5..a114183 100644
--- a/arch/arm/boot/dts/tegra-seaboard.dts
+++ b/arch/arm/boot/dts/tegra-seaboard.dts
@@ -270,6 +270,14 @@
micdet-delay = <100>;
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 PZ02 */
+ };
};
i2c@7000c400 {
diff --git a/arch/arm/boot/dts/tegra-ventana.dts b/arch/arm/boot/dts/tegra-ventana.dts
index bd074cf..6ea41df 100644
--- a/arch/arm/boot/dts/tegra-ventana.dts
+++ b/arch/arm/boot/dts/tegra-ventana.dts
@@ -256,6 +256,14 @@
micdet-delay = <100>;
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 PZ02 */
+ };
};
i2c@7000c400 {
--
1.7.1.1
next prev parent reply other threads:[~2012-04-23 12:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 12:11 [PATCH V2 0/4] ARM: tegra: enable ALS and proximity sensors Laxman Dewangan
2012-04-23 12:11 ` [PATCH V2 1/4] devicetree: Document Intersil Corporation vendor prefix Laxman Dewangan
2012-04-23 17:16 ` Stephen Warren
2012-04-24 14:50 ` Rob Landley
2012-04-23 12:11 ` [PATCH V5] dmaengine: tegra: add dma driver Laxman Dewangan
2012-04-23 12:11 ` [PATCH V2 2/4] staging: iio: light: of: Fix vendor prefix of isl29018/isl29028 Laxman Dewangan
2012-04-23 17:17 ` Stephen Warren
2012-04-23 17:28 ` Greg KH
2012-04-23 17:43 ` Stephen Warren
2012-04-23 17:49 ` Greg KH
2012-04-24 6:13 ` Laxman Dewangan
2012-04-23 12:11 ` Laxman Dewangan [this message]
2012-04-23 17:15 ` [PATCH V2 3/4] ARM: dt: tegra: enable als and proximity sensor Stephen Warren
2012-04-26 17:39 ` Laxman Dewangan
2012-04-23 12:11 ` [PATCH V2 4/4] ARM: tegra: defconfig: add ISL29028 Laxman Dewangan
2012-04-23 17:16 ` Stephen Warren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1335183097-21104-5-git-send-email-ldewangan@nvidia.com \
--to=ldewangan@nvidia.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@cam.ac.uk \
--cc=linux-doc@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=olof@lixom.net \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=swarren@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®