CHROMIUM: exynos: dts: enable G781 thermal sensor on Spring
authorVincent Palatin <vpalatin@chromium.org>
Wed, 30 Jan 2013 19:06:04 +0000 (11:06 -0800)
committerChromeBot <chrome-bot@google.com>
Tue, 5 Feb 2013 07:03:12 +0000 (23:03 -0800)
On Spring, we have a G781 thermal sensor on I2C bus 7.
The sensor is supported by the LM90 driver.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:16725
TEST=On spring, on the command-line
"cat /sys/bus/i2c/devices/7-004c/temp[12]_input"
and see board temperature in milli-celsius (e.g. 50750)

Change-Id: I84dfbc03f6b7f9399529f51965fe4dd4aeb04512
Reviewed-on: https://gerrit.chromium.org/gerrit/42380
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
arch/arm/boot/dts/exynos5250-spring.dts

index f0ff631..bb6527d 100644 (file)
                codec {
                        mclk-pin = <2>;
                };
+
+               temp-sensor {
+                       compatible = "gmt,g781";
+                       reg = <0x4c>;
+               };
        };
 
        sound {