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

Signed-off-by: Enric Balletbo i Serra <[email protected]>
---
 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

Reply via email to