From patchwork Mon Jan 6 12:36:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 3437811 Return-Path: X-Original-To: patchwork-linux-arm@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 DC815C02DC for ; Mon, 6 Jan 2014 12:41:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C8B32016D for ; Mon, 6 Jan 2014 12:40:56 +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 06DA02016A for ; Mon, 6 Jan 2014 12:40:55 +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 1W09Sb-0004nK-Bt; Mon, 06 Jan 2014 12:39:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W09SI-0000nD-Ak; Mon, 06 Jan 2014 12:38:54 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W09S0-0000kG-HN for linux-arm-kernel@lists.infradead.org; Mon, 06 Jan 2014 12:38:38 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s06Cc5Jw008809; Mon, 6 Jan 2014 06:38:05 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s06Cc4EA003024; Mon, 6 Jan 2014 06:38:05 -0600 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; Mon, 6 Jan 2014 06:38:05 -0600 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 s06Cc5E2030745; Mon, 6 Jan 2014 06:38:05 -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 s06Cbxt23156; Mon, 6 Jan 2014 06:37:59 -0600 (CST) From: Eduardo Valentin To: Subject: [PATCHv2 5/7] arm: dts: dra7: add thermal data Date: Mon, 6 Jan 2014 08:36:49 -0400 Message-ID: <1389011811-13004-6-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_073836_715109_6ECD4C1D X-CRM114-Status: UNSURE ( 9.65 ) 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 This patch adds thermal data for DRA7 SoCs. Cpufreq cooling will be enabled for MPU domain whenever it crosses 100C. GPU, CORE, DSPEVE, IVA will be exposed and system shall shutdown when they cross 125C. 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.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 139472c..4784c0c 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -68,6 +68,15 @@ ; }; + thermal_zones: thermal-zones { + /* SoC thermal zones */ + #include "omap4-cpu-thermal.dtsi" + #include "omap5-gpu-thermal.dtsi" + #include "omap5-core-thermal.dtsi" + #include "dra7-dspeve-thermal.dtsi" + #include "dra7-iva-thermal.dtsi" + }; + gic: interrupt-controller@48211000 { compatible = "arm,cortex-a15-gic"; interrupt-controller;