From patchwork Tue Mar 25 10:49:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Shi X-Patchwork-Id: 3887071 Return-Path: X-Original-To: patchwork-linux-omap@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 CB6A79F334 for ; Tue, 25 Mar 2014 10:52:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E446A2021B for ; Tue, 25 Mar 2014 10:52:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 178A12020E for ; Tue, 25 Mar 2014 10:52:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753863AbaCYKu5 (ORCPT ); Tue, 25 Mar 2014 06:50:57 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:42254 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753833AbaCYKux (ORCPT ); Tue, 25 Mar 2014 06:50:53 -0400 Received: by mail-pa0-f41.google.com with SMTP id fa1so280745pad.0 for ; Tue, 25 Mar 2014 03:50:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=Wx/sytb3aGcinLMtWysEQdmx1oZdprKjK4w1KjEy8B4=; b=SwcYGXm6sEv0ShW6A8OiyKfRJrRGyRRjFAQmOL2rIUE/iN1OKP8pGh36twWbjeMlaV 4eblqbVtjFRTDo3mC2yvtyPhbYYYBCZLoOzU/6B+Km9kd5ItdVJPKT39isWMKpJflbCK UVH01qZ6yf7s2VnBAwuT03d/CnRiFo32BDs97caLpcjyeoSobMskL1S4+pzsaHLZf3iQ 6D/y+3HAXjx2XFpSdkmOEL1g56F0D8+Kssez7Enswat4deZ6Yg+U7bWa+Nxbrk97ROqT xQkAw4njGloi4am0qEZoEQbeyXbZwX9E25RFxHU4TbuW3FvMa40FA6UeUyGOST8J0ti+ 3log== X-Gm-Message-State: ALoCoQltZwtB6BaCfBXbojciwJkSsHleW2tTxMuYAuQD69FldCWPGcuDtQufjXsQvE77CwjmyyEa X-Received: by 10.66.220.198 with SMTP id py6mr76671728pac.21.1395744652600; Tue, 25 Mar 2014 03:50:52 -0700 (PDT) Received: from localhost.localdomain ([162.243.130.63]) by mx.google.com with ESMTPSA id db3sm42987987pbb.10.2014.03.25.03.50.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:50:51 -0700 (PDT) From: Alex Shi To: mark.hambleton@broadcom.com, mark.brown@linaro.org, eduardo.valentin@ti.com, mporter@linaro.org, lsk-interest@linaro.org, linaro-kernel@linaro.org Cc: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Russell King , linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Shi Subject: [PATCH 10/19] arm: dts: add cooling properties on omap4430 cpu node Date: Tue, 25 Mar 2014 18:49:23 +0800 Message-Id: <1395744572-20014-11-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1395744572-20014-1-git-send-email-alex.shi@linaro.org> References: <1395744572-20014-1-git-send-email-alex.shi@linaro.org> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Eduardo Valentin OMAP4430 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch adds the required cooling device properties so that cpufreq-cpu0 driver loads the cooling device. Cc: "BenoƮt Cousson" Cc: Tony Lindgren Cc: Russell King Cc: linux-omap@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin (cherry picked from commit 72af5e6d0c3e01655c1c1fc7c7ca94a2b663611e) Signed-off-by: Alex Shi --- arch/arm/boot/dts/omap443x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index cccf39a..d2deba0 100644 --- a/arch/arm/boot/dts/omap443x.dtsi +++ b/arch/arm/boot/dts/omap443x.dtsi @@ -22,6 +22,11 @@ 1008000 1375000 >; clock-latency = <300000>; /* From legacy driver */ + + /* cooling options */ + cooling-min-level = <0>; + cooling-max-level = <3>; + #cooling-cells = <2>; /* min followed by max */ }; }; };