From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751887AbcGPUKi (ORCPT ); Sat, 16 Jul 2016 16:10:38 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:34877 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbcGPUKf (ORCPT ); Sat, 16 Jul 2016 16:10:35 -0400 Date: Sat, 16 Jul 2016 15:10:32 -0500 From: Rob Herring To: Rajendra Nayak Cc: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes Message-ID: <20160716201032.GA15946@rob-hp-laptop> References: <1468306374-24153-1-git-send-email-rnayak@codeaurora.org> <1468306374-24153-3-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468306374-24153-3-git-send-email-rnayak@codeaurora.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 12, 2016 at 12:22:51PM +0530, Rajendra Nayak wrote: > TSENS is part of GCC, hence add TSENS properties as part of GCC node. > Also add thermal zones and qfprom nodes. > Update GCC bindings doc to mention the possibility of optional TSENS > properties that can be part of GCC node. > > Acked-by: Eduardo Valentin > Signed-off-by: Rajendra Nayak > --- > .../devicetree/bindings/clock/qcom,gcc.txt | 18 ++++ > arch/arm/boot/dts/qcom-apq8064.dtsi | 119 +++++++++++++++++++++ > 2 files changed, 137 insertions(+) [...] > diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi > index 906bb81..e54c215 100644 > --- a/arch/arm/boot/dts/qcom-apq8064.dtsi > +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi > @@ -86,6 +86,108 @@ > }; > }; > > + thermal-zones { > + cpu-thermal0 { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&gcc 7>; > + coefficients = <1199 0>; > + > + trips { > + cpu_alert0: trip@0 { Compile this with W=1 and fix the warings. > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + };