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

Message ID 20170116165736.17197-7-enric.balletbo@collabora.com
State New
Headers show

Commit Message

Enric Balletbo i Serra Jan. 16, 2017, 4:57 p.m. UTC
Add support for the ISL29023 ALS connected via the I2C bus.

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

Patch
diff mbox

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 {