From patchwork Mon Jan 6 12:36:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 3437841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E59319F1C4 for ; Mon, 6 Jan 2014 12:42:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B4DF3200D0 for ; Mon, 6 Jan 2014 12:42:21 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E5C2D200E7 for ; Mon, 6 Jan 2014 12:42:16 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W09UL-0005ll-QV; Mon, 06 Jan 2014 12:41:03 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W09TO-0000sN-OK; Mon, 06 Jan 2014 12:40:02 +0000 Received: from devils.ext.ti.com ([198.47.26.153]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W09TL-0000qt-OF for linux-arm-kernel@lists.infradead.org; Mon, 06 Jan 2014 12:40:00 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s06CdOl9011868; Mon, 6 Jan 2014 06:39:24 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s06CdODd016520; Mon, 6 Jan 2014 06:39:24 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Mon, 6 Jan 2014 06:39:24 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s06CdODH015222; Mon, 6 Jan 2014 06:39:24 -0600 Received: from localhost (j-172-22-131-241.vpn.ti.com [172.22.131.241]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id s06CdDt23209; Mon, 6 Jan 2014 06:39:14 -0600 (CST) From: Eduardo Valentin To: Subject: [PATCHv2 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM Date: Mon, 6 Jan 2014 08:36:51 -0400 Message-ID: <1389011811-13004-8-git-send-email-eduardo.valentin@ti.com> X-Mailer: git-send-email 1.8.2.1.342.gfa7285d In-Reply-To: <1389011811-13004-1-git-send-email-eduardo.valentin@ti.com> References: <1389011811-13004-1-git-send-email-eduardo.valentin@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140106_073959_861160_4EB19805 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.2 (-------) Cc: Mark Rutland , devicetree@vger.kernel.org, Ian Campbell , Russell King , Pawel Moll , linux-pm@vger.kernel.org, Stephen Warren , linux-kernel@vger.kernel.org, Rob Herring , lm-sensors@lm-sensors.org, Eduardo Valentin , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add simple thermal zone on tmp102. Cc: BenoƮt Cousson Cc: Zhang Rui Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Stephen Warren Cc: Ian Campbell Cc: Russell King Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org 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 36e2c9e..1ea9c3d 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -95,6 +95,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";