Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296Ab3JASfA (ORCPT ); Tue, 1 Oct 2013 14:35:00 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36354 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600Ab3JASe5 (ORCPT ); Tue, 1 Oct 2013 14:34:57 -0400 From: Eduardo Valentin To: , , , , , , , CC: , , , , 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> X-Mailer: git-send-email 1.8.2.1.342.gfa7285d In-Reply-To: <1380652344-18819-1-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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 41 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/