From patchwork Tue Oct 1 18:32:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 2971481 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B3AFEBFF0B for ; Tue, 1 Oct 2013 18:35:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31C3A203AD for ; Tue, 1 Oct 2013 18:35:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09C12203AC for ; Tue, 1 Oct 2013 18:35:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753115Ab3JASe6 (ORCPT ); Tue, 1 Oct 2013 14:34:58 -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 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r91IXohc018370; Tue, 1 Oct 2013 13:33:50 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r91IXo0h025968; Tue, 1 Oct 2013 13:33:50 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Tue, 1 Oct 2013 13:33:50 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id r91IXokK002313; Tue, 1 Oct 2013 13:33:50 -0500 Received: from localhost (h68-2.vpn.ti.com [172.24.68.2]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r91IXht05059; Tue, 1 Oct 2013 13:33:44 -0500 (CDT) 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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. 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";