From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: [PATCH 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM Date: Tue, 1 Oct 2013 14:32:24 -0400 Message-ID: <1380652344-18819-8-git-send-email-eduardo.valentin@ti.com> References: <1380652344-18819-1-git-send-email-eduardo.valentin@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1380652344-18819-1-git-send-email-eduardo.valentin@ti.com> Sender: linux-pm-owner@vger.kernel.org To: swarren@wwwdotorg.org, pawel.moll@arm.com, mark.rutland@arm.com, ian.campbell@citrix.com, rob.herring@calxeda.com, linux@roeck-us.net, rui.zhang@intel.com, grant.likely@linaro.org Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org, Eduardo Valentin List-Id: devicetree@vger.kernel.org Add simple thermal zone on tmp102. Signed-off-by: Eduardo Valentin --- arch/arm/boot/dts/dra7-evm.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 3b6c16a..70e1a12 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -90,6 +90,21 @@ }; }; +&thermal_zones { + pcb_thermal: pcb_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <1000>; /* milliseconds */ + thermal-sensors = <&tmp102>; + trips { + crit@80000 { + temperature = <80000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; +}; + &i2c1 { status = "okay"; pinctrl-names = "default"; -- 1.8.2.1.342.gfa7285d