From 7748b0ffefdecc86a7c4e9a778742e4993655fbd Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Wed, 30 Jan 2013 11:06:04 -0800 Subject: [PATCH] CHROMIUM: exynos: dts: enable G781 thermal sensor on Spring 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 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 Tested-by: Vincent Palatin Reviewed-by: Vincent Palatin --- arch/arm/boot/dts/exynos5250-spring.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index f0ff631f84397..bb6527df19c83 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -109,6 +109,11 @@ codec { mclk-pin = <2>; }; + + temp-sensor { + compatible = "gmt,g781"; + reg = <0x4c>; + }; }; sound { -- 2.39.5