ARM: dts: Add ISL29018 sensor for exynos based Peach boards
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Sat, 13 Sep 2014 15:47:17 +0000 (00:47 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Sep 2014 15:47:17 +0000 (00:47 +0900)
The Exynos5420 based Peach Pit and the Exynos5800 based Peach Pi
machines have an i2c ISL29018 light sensor. This patch adds the
device nodes needed to support this device.

These DTS snippets were taken from the downstream Chrome OS 3.8
kernel Device Tree for Peach Pit and Pi boards.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5800-peach-pi.dts

index 07115b7b6ba503f7bf433fbe80ac3ca467c93c5c..b8fea56b16a0396c8bb472952e69a5fb4ddc03b5 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&max98090_irq>;
        };
+
+       light-sensor@44 {
+               compatible = "isil,isl29018";
+               reg = <0x44>;
+               vcc-supply = <&tps65090_fet5>;
+       };
 };
 
 &hsi2c_9 {
index 1c128e173b8994cff6160795ed1508cae1691d8e..17537f0ab44a4568742748ac8c72a776baba80d6 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&max98091_irq>;
        };
+
+       light-sensor@44 {
+               compatible = "isil,isl29018";
+               reg = <0x44>;
+               vcc-supply = <&tps65090_fet5>;
+       };
 };
 
 &hsi2c_9 {