]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am335x-sl50: Enable the Ambient Light Sensor.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 16 Jan 2017 16:57:36 +0000 (17:57 +0100)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Jan 2017 18:34:22 +0000 (10:34 -0800)
Add support for the ISL29023 ALS connected via the I2C bus.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-sl50.dts

index 010c99e804245570daa7db1b9277a0cd64ef3e52..c5d2589c55fc3ddfab5909413e7bbfe59aba50f7 100644 (file)
@@ -337,6 +337,12 @@ audio_codec: tlv320aic3106@1b {
                DRVDD-supply = <&ldo4_reg>;
                DVDD-supply = <&ldo3_reg>;
        };
+
+       /* Ambient Light Sensor */
+       als: isl29023@44 {
+               compatible = "isil,isl29023";
+               reg = <0x44>;
+       };
 };
 
 &rtc {