diff mbox series

[v1,03/12] arm64: dts: msm8916: thermal: Add sensor for modem

Message ID b7a640640775f91956baebbd37a36201f93b78f8.1550493113.git.amit.kucheria@linaro.org
State New
Headers show
Series [v1,01/12] arm64: dts: msm8998: thermal: split address space into two | expand

Commit Message

Amit Kucheria Feb. 18, 2019, 12:35 p.m. UTC
On platforms that have a modem, sensor 0 monitors the modem.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.17.1

Comments

Eduardo Valentin Feb. 20, 2019, 1:24 a.m. UTC | #1
On Mon, Feb 18, 2019 at 06:05:17PM +0530, Amit Kucheria wrote:
> On platforms that have a modem, sensor 0 monitors the modem.

> 

> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 6 ++++++

>  1 file changed, 6 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi

> index 9e598ab438a1..9e4a82e5e0b4 100644

> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi

> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi

> @@ -278,7 +278,13 @@

>  					type = "critical";

>  				};

>  			};

> +		};

> +

> +		modem-thermal {

> +			polling-delay-passive = <250>;

> +			polling-delay = <1000>;

>  

> +			thermal-sensors = <&tsens 0>;


A thermal zone with no trips no cooling? Please check the thermal.txt
binding for the required properties.

>  		};

>  

>  	};

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 9e598ab438a1..9e4a82e5e0b4 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -278,7 +278,13 @@ 
 					type = "critical";
 				};
 			};
+		};
+
+		modem-thermal {
+			polling-delay-passive = <250>;
+			polling-delay = <1000>;
 
+			thermal-sensors = <&tsens 0>;
 		};
 
 	};