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: 27028 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 39DAB20539 for ; Tue, 25 Mar 2014 10:51:16 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id i17sf628779qcy.3 for ; Tue, 25 Mar 2014 03:51:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=HQKW0O4TlLEIe2J3mAJsHypPyh1rRGQmHR1ALvvTVU8=; b=jDhdCa6aMhEVmsXeigeUMi367ZAvHuKyDQ1gGh6sHg6kjRFit9cVgXgrGxBZ8Va0+y EpCFbkogZSqmwMJ6V4WV9f9kuK8D+wprWlNdChLZKnYzCzKTe9WSczpkMPkcgqH7xgnf qiibr8ARbBaVq03H8QWb2JcjDMT+DPJHhHcmhF1/wLY/81C0EVFPEz3UMvOYEZLkNgbn /hCj01/NVFx7ODeUhN2ituEfnf0z6VJOCYfvIp2fhDde69dQkuVO9sEuvvNSKsz6JyAe Yy72e/6/F2k4WV0/yMIDRDhZls2cJAhSsVHsX1UBOYCuYN5Y8coI9M/bpO9B4Pwi3RUQ 3QbA== X-Gm-Message-State: ALoCoQnN6ifz/Fx75urXkAXr9qMzMVJDbtqptK3alaEQN3KdH5pUnc3d3NhUXxT1bKoFv435Jf0M X-Received: by 10.58.91.11 with SMTP id ca11mr17601305veb.20.1395744675941; Tue, 25 Mar 2014 03:51:15 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.37.225 with SMTP id r88ls182330qgr.2.gmail; Tue, 25 Mar 2014 03:51:15 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr55412228vcb.0.1395744675769; Tue, 25 Mar 2014 03:51:15 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id vr5si3636024vec.201.2014.03.25.03.51.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:51:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id if17so299735vcb.8 for ; Tue, 25 Mar 2014 03:51:15 -0700 (PDT) X-Received: by 10.52.72.48 with SMTP id a16mr5416959vdv.19.1395744675671; Tue, 25 Mar 2014 03:51:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp293811vck; Tue, 25 Mar 2014 03:51:14 -0700 (PDT) X-Received: by 10.66.144.200 with SMTP id so8mr78914515pab.15.1395744673968; Tue, 25 Mar 2014 03:51:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zw7si7530983pac.275.2014.03.25.03.51.13; Tue, 25 Mar 2014 03:51:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753892AbaCYKu5 (ORCPT + 26 others); Tue, 25 Mar 2014 06:50:57 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:43187 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753796AbaCYKux (ORCPT ); Tue, 25 Mar 2014 06:50:53 -0400 Received: by mail-pa0-f42.google.com with SMTP id fb1so271213pad.29 for ; Tue, 25 Mar 2014 03:50:52 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alex.shi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 */ }; }; };