From: Keerthy Date: Thu, 9 Mar 2017 08:05:56 +0000 (+0530) Subject: ARM: dts: DRA7: Thermal: Add slope and offset values X-Git-Tag: v4.12-rc1~56^2~27^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb51ae0a11799e985e867dc66eafe47ff6421f6b;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: DRA7: Thermal: Add slope and offset values Currently the slope and offset values for calculating the hot spot temperature of a particular thermal zone is part of driver data. Pass them here instead and obtain the values while of node parsing. Signed-off-by: Keerthy Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index e9dc314b0dcf5..093eff94ee800 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1996,6 +1996,23 @@ &cpu_thermal { polling-delay = <500>; /* milliseconds */ + coefficients = <0 2000>; +}; + +&gpu_thermal { + coefficients = <0 2000>; +}; + +&core_thermal { + coefficients = <0 2000>; +}; + +&dspeve_thermal { + coefficients = <0 2000>; +}; + +&iva_thermal { + coefficients = <0 2000>; }; /include/ "dra7xx-clocks.dtsi"