Browse Source

ARM: dts: am335x-sl50: Enable the Ambient Light Sensor.

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>
Enric Balletbo i Serra 8 years ago
parent
commit
885658fd37
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/arm/boot/dts/am335x-sl50.dts

+ 6 - 0
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 {