Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1445345

Re: [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes

From Rajendra Nayak <rnayak@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes
Date 2016-07-18 12:00 +0200
Message-ID <rWdvb-4xq-5@gated-at.bofh.it> (permalink)
References <rTZPH-1oG-7@gated-at.bofh.it> <rTZPI-1oG-19@gated-at.bofh.it> <rVEe6-8hS-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 07/17/2016 01:40 AM, Rob Herring wrote:
> 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 <edubezval@gmail.com>
>> Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
>> ---
>>  .../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.

Thanks Rob, will fix.

> 
>> +					temperature = <75000>;
>> +					hysteresis = <2000>;
>> +					type = "passive";
>> +				};

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] dts patches for qcom tsens support Rajendra Nayak <rnayak@codeaurora.org> - 2016-07-12 09:00 +0200
  [PATCH 5/5] arm64: dts: msm8996: Add thermal zones and tsens node Rajendra Nayak <rnayak@codeaurora.org> - 2016-07-12 09:00 +0200
  [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes Rajendra Nayak <rnayak@codeaurora.org> - 2016-07-12 09:00 +0200
    Re: [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and  qfprom nodes Rob Herring <robh@kernel.org> - 2016-07-16 22:20 +0200
      Re: [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom  nodes Rajendra Nayak <rnayak@codeaurora.org> - 2016-07-18 12:00 +0200

csiph-web