diff mbox series

[4/7] arm64: dts: qcom: sm8x50: add empty thermal zone nodes

Message ID 20200604004331.669936-4-dmitry.baryshkov@linaro.org
State New
Headers show
Series [1/7] arm64: dts: qcom: pm8009: Add base dts file | expand

Commit Message

Dmitry Baryshkov June 4, 2020, 12:43 a.m. UTC
Add empty thermal_zone nodes. They will be populated by PMIC dtsi files,
describing thermal sensors and trip points for zones handled by PMICs.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +++
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 +++
 2 files changed, 6 insertions(+)

-- 
2.26.2

Comments

Amit Kucheria June 8, 2020, 8:45 a.m. UTC | #1
On Thu, Jun 4, 2020 at 6:13 AM Dmitry Baryshkov
<dmitry.baryshkov@linaro.org> wrote:
>

> Add empty thermal_zone nodes. They will be populated by PMIC dtsi files,

> describing thermal sensors and trip points for zones handled by PMICs.


This is unnecessary. I've already started preparing patches that add
the thermal zones for the two socs.

> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +++

>  arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 +++

>  2 files changed, 6 insertions(+)

>

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

> index 141c21dfa68c..869a54352d77 100644

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

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

> @@ -857,6 +857,9 @@ cpufreq_hw: cpufreq@18323000 {

>                 };

>         };

>

> +       thermal_zones: thermal-zones {

> +       };

> +

>         timer {

>                 compatible = "arm,armv8-timer";

>                 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,

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

> index 9dd27aecdfda..972d8e04c8a2 100644

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

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

> @@ -1736,6 +1736,9 @@ cpufreq_hw: cpufreq@18591000 {

>                 };

>         };

>

> +       thermal_zones: thermal-zones {

> +       };

> +

>         timer {

>                 compatible = "arm,armv8-timer";

>                 interrupts = <GIC_PPI 13

> --

> 2.26.2

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 141c21dfa68c..869a54352d77 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -857,6 +857,9 @@  cpufreq_hw: cpufreq@18323000 {
 		};
 	};
 
+	thermal_zones: thermal-zones {
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 9dd27aecdfda..972d8e04c8a2 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -1736,6 +1736,9 @@  cpufreq_hw: cpufreq@18591000 {
 		};
 	};
 
+	thermal_zones: thermal-zones {
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 13