Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754679AbaAFMj1 (ORCPT ); Mon, 6 Jan 2014 07:39:27 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:39544 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902AbaAFMjT (ORCPT ); Mon, 6 Jan 2014 07:39:19 -0500 From: Eduardo Valentin To: CC: , , , , Eduardo Valentin , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Russell King , Subject: [PATCHv2 4/7] arm: dts: add cooling properties on dra7 cpu node Date: Mon, 6 Jan 2014 08:36:48 -0400 Message-ID: <1389011811-13004-5-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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DRA7 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: 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 8f21157..139472c 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -47,6 +47,11 @@ 1000000 1060000 1176000 1160000 >; + + /* cooling properties */ + #cooling-cells = <2>; /* min and max */ + #cooling-min-level = <0>; + #cooling-max-level = <1>; }; cpu@1 { device_type = "cpu"; -- 1.8.2.1.342.gfa7285d -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/