ARM: dt: add ALS and proximity sensor ISL29028
Subsystems (3)
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(-)
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.
Signed-off-by Laxman Dewangan <[email protected]>
--- arch/arm/boot/dts/tegra-cardhu.dts | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra-cardhu.dts +6 -0
@@ -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
PATCH 2/2 ARM: config: tegra: add ISL29028
In reply to Laxman DewanganAdd ALS and prosimity sensor ISL29028 config.
Signed-off-by Laxman Dewangan <[email protected]>
--- arch/arm/configs/tegra_defconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +1 -0
@@ -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