Skip to contentSkip to conversation

ARM: dt: add ALS and proximity sensor ISL29028

PATCH New Laxman Dewangan 1 participant 3 messages Apr 17, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ARM: dt: add ALS and proximity sensor ISL29028

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(-)
#1 lore raw

PATCH 1/2 ARM: dt: tegra_cardhu: als and proximity sensor isl29028 support

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

---
 arch/arm/boot/dts/tegra-cardhu.dts |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra-cardhu.dts +6 -0
index ab8d901..30cbd14 100644
@@ -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 {
Signature · 1 line
1.7.1.1
#2 lore raw

PATCH 2/2 ARM: config: tegra: add ISL29028

In reply to Laxman Dewangan

Add ALS and prosimity sensor ISL29028 config.

---
 arch/arm/configs/tegra_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +1 -0
index 351d670..2ad3e3b 100644
@@ -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
Signature · 1 line
1.7.1.1