OSDN Git Service

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 07115b7..b8fea56 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&max98090_irq>;
        };
+
+       light-sensor@44 {
+               compatible = "isil,isl29018";
+               reg = <0x44>;
+               vcc-supply = <&tps65090_fet5>;
+       };
 };
 
 &hsi2c_9 {
index 1c128e1..17537f0 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&max98091_irq>;
        };
+
+       light-sensor@44 {
+               compatible = "isil,isl29018";
+               reg = <0x44>;
+               vcc-supply = <&tps65090_fet5>;
+       };
 };
 
 &hsi2c_9 {