CHROMIUM: exynos: dts: ALS configuration is per board
authorVincent Palatin <vpalatin@chromium.org>
Wed, 30 Jan 2013 18:45:37 +0000 (10:45 -0800)
committerChromeBot <chrome-bot@google.com>
Thu, 31 Jan 2013 02:22:50 +0000 (18:22 -0800)
Move the Ambient Light Sensor configuration to board-specific files.
Only Snow has an ISLxxxx light sensor.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:17507
TEST=on Snow, boot and check the ambient light sensor is working when
putting the finger on it.
On Spring, boot and observe we no longer have isl driver failure in the kernel log.

Change-Id: I54a3031a4ea211c3a2cd5c56d9188387b329f72a
Reviewed-on: https://gerrit.chromium.org/gerrit/42334
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Bryan Freed <bfreed@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>

arch/arm/boot/dts/cros5250-common.dtsi
arch/arm/boot/dts/exynos5250-snow.dts

index 82834e6..244218f 100644 (file)
                        mic-right-digital;
                };
 
-               light-sensor {
-                       compatible = "invn,isl29018";
-                       reg = <0x44>;
-               };
-
                // i2c7
                // mipi cam  codec 0x11 gyro @0x68
                // LCD @0x50-57 ALS @? mic-detect @0x3b
index 3dfe802..fbe5dea 100644 (file)
                codec {
                        mclk-pin = <1>;
                };
+
+               light-sensor {
+                       compatible = "invn,isl29018";
+                       reg = <0x44>;
+               };
        };
 
        dwmmc2@12220000 {