linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V1 0/2] ARM: dt: add ALS and proximity sensor ISL29028
@ 2012-04-17  6:10 Laxman Dewangan
  2012-04-17  6:10 ` [PATCH V1 1/2] ARM: dt: tegra_cardhu: als and proximity sensor isl29028 support Laxman Dewangan
  2012-04-17  6:10 ` [PATCH V1 2/2] ARM: config: tegra: add ISL29028 Laxman Dewangan
  0 siblings, 2 replies; 3+ messages in thread
From: Laxman Dewangan @ 2012-04-17  6:10 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH V1 1/2] ARM: dt: tegra_cardhu: als and proximity sensor isl29028 support
  2012-04-17  6:10 [PATCH V1 0/2] ARM: dt: add ALS and proximity sensor ISL29028 Laxman Dewangan
@ 2012-04-17  6:10 ` Laxman Dewangan
  2012-04-17  6:10 ` [PATCH V1 2/2] ARM: config: tegra: add ISL29028 Laxman Dewangan
  1 sibling, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2012-04-17  6:10 UTC (permalink / raw)
  To: linux-arm-kernel

Add the device info for ALS and proximity sensor isl29028.
This device is connected on i2c2 bus.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 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 @@
 
 	i2c at 7000c500 {
 		clock-frequency = <100000>;
+
+		/* ALS and Proximity sensor */
+		isl29028: isl29028 at 44 {
+			compatible = "isl,isl29028";
+			reg = <0x44>;
+		};
 	};
 
 	i2c at 7000c700 {
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH V1 2/2] ARM: config: tegra: add ISL29028
  2012-04-17  6:10 [PATCH V1 0/2] ARM: dt: add ALS and proximity sensor ISL29028 Laxman Dewangan
  2012-04-17  6:10 ` [PATCH V1 1/2] ARM: dt: tegra_cardhu: als and proximity sensor isl29028 support Laxman Dewangan
@ 2012-04-17  6:10 ` Laxman Dewangan
  1 sibling, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2012-04-17  6:10 UTC (permalink / raw)
  To: linux-arm-kernel

Add ALS and prosimity sensor ISL29028 config.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 arch/arm/configs/tegra_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index 351d670..2ad3e3b 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -137,6 +137,7 @@ CONFIG_RTC_DRV_TEGRA=y
 CONFIG_STAGING=y
 CONFIG_IIO=y
 CONFIG_SENSORS_ISL29018=y
+CONFIG_SENSORS_ISL29028=y
 CONFIG_SENSORS_AK8975=y
 CONFIG_MFD_NVEC=y
 CONFIG_KEYBOARD_NVEC=y
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-17  6:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17  6:10 [PATCH V1 0/2] ARM: dt: add ALS and proximity sensor ISL29028 Laxman Dewangan
2012-04-17  6:10 ` [PATCH V1 1/2] ARM: dt: tegra_cardhu: als and proximity sensor isl29028 support Laxman Dewangan
2012-04-17  6:10 ` [PATCH V1 2/2] ARM: config: tegra: add ISL29028 Laxman Dewangan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).