From patchwork Tue Mar 25 10:49:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Shi X-Patchwork-Id: 27029 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4760A20539 for ; Tue, 25 Mar 2014 10:51:17 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id eb12sf1080949oac.11 for ; Tue, 25 Mar 2014 03:51:16 -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=jufZ+DjzOTMfdJWInXIhypIQXKZosNJ5438uHG3e7/I=; b=NzPjbTb+HPUf9HRGpO3H29mO51x3IX883RGgBY2u4tf3wVbjjhRJZBZc2KRhtm2yMX yg4owGweN9RjNbc1Y+hkzX+M2a48RaiQyZSeZhh/kvoQqof99+ic5qcbRg4dkvGLjOT5 OGcTWz1q9jMkt+XRz6amBBweY4TORz/jm12S/Hb+4B3H2zj34uPhhwcEsXqvZlHTis2M wDmjE28bnmuCmrLLVdblrnlEgL5W2H4ZNrfXPxASUlVBAtUEBcHbpouvArvpV3paPFjW dVvTIlWX1CmOs8gtRBc/Hu9NQCsIw2vCKg/hIM9BNjbqQqENzhIhGmGdns5dZAyhoOYw tjYw== X-Gm-Message-State: ALoCoQnRoQr7pgkZiXwmeXpWk7xVfWDHl4mjnNo9E7tzfdRw7PjaV1v8aJ60otwIH9CSWAL8/+/y X-Received: by 10.182.87.2 with SMTP id t2mr27219303obz.2.1395744676752; Tue, 25 Mar 2014 03:51:16 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.145 with SMTP id c17ls182165qgd.60.gmail; Tue, 25 Mar 2014 03:51:16 -0700 (PDT) X-Received: by 10.58.133.15 with SMTP id oy15mr53153600veb.19.1395744676604; Tue, 25 Mar 2014 03:51:16 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id at8si3644699vec.91.2014.03.25.03.51.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:51:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.176 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.176; Received: by mail-vc0-f176.google.com with SMTP id lc6so296563vcb.7 for ; Tue, 25 Mar 2014 03:51:16 -0700 (PDT) X-Received: by 10.52.164.237 with SMTP id yt13mr24449491vdb.18.1395744676524; Tue, 25 Mar 2014 03:51:16 -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 i9csp293815vck; Tue, 25 Mar 2014 03:51:16 -0700 (PDT) X-Received: by 10.67.11.12 with SMTP id ee12mr15074400pad.132.1395744674842; Tue, 25 Mar 2014 03:51:14 -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.14; Tue, 25 Mar 2014 03:51:14 -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 S1753927AbaCYKvH (ORCPT + 26 others); Tue, 25 Mar 2014 06:51:07 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:60364 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753897AbaCYKvC (ORCPT ); Tue, 25 Mar 2014 06:51:02 -0400 Received: by mail-pb0-f54.google.com with SMTP id ma3so275519pbc.41 for ; Tue, 25 Mar 2014 03:51:01 -0700 (PDT) X-Received: by 10.68.201.97 with SMTP id jz1mr77300345pbc.26.1395744661577; Tue, 25 Mar 2014 03:51:01 -0700 (PDT) Received: from localhost.localdomain ([162.243.130.63]) by mx.google.com with ESMTPSA id db3sm42987987pbb.10.2014.03.25.03.50.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:51:00 -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 , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Russell King , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Shi Subject: [PATCH 11/19] arm: dts: add cooling properties on omap4460 cpu node Date: Tue, 25 Mar 2014 18:49:24 +0800 Message-Id: <1395744572-20014-12-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.176 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 OMAP4460 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: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Stephen Warren Cc: Ian Campbell Cc: Russell King Cc: linux-omap@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin (cherry picked from commit 616a66351d6cd4a9bdb20fe49ee2505d9cc8a0db) Signed-off-by: Alex Shi --- arch/arm/boot/dts/omap4460.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index 2cf227c..e21fc05 100644 --- a/arch/arm/boot/dts/omap4460.dtsi +++ b/arch/arm/boot/dts/omap4460.dtsi @@ -20,6 +20,11 @@ 920000 1313000 >; clock-latency = <300000>; /* From legacy driver */ + + /* cooling options */ + cooling-min-level = <0>; + cooling-max-level = <2>; + #cooling-cells = <2>; /* min followed by max */ }; };