[PATCH 6/6] ARM: dts: am335x-sl50: Enable the Ambient Light Sensor.

From: Enric Balletbo i Serra
Date: Mon Jan 16 2017 - 11:58:39 EST


Add support for the ISL29023 ALS connected via the I2C bus.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/am335x-sl50.dts | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index 010c99e..c5d2589 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -337,6 +337,12 @@
DRVDD-supply = <&ldo4_reg>;
DVDD-supply = <&ldo3_reg>;
};
+
+ /* Ambient Light Sensor */
+ als: isl29023@44 {
+ compatible = "isil,isl29023";
+ reg = <0x44>;
+ };
};

&rtc {
--
2.9.3