Message ID | 20230401220810.3563708-2-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers | show |
Series | arm64: dts: qcom: remove duplication in PMIC declarations | expand |
On 2.04.2023 00:07, Dmitry Baryshkov wrote: > Correct the thermal zone node names to remove the clash with > pm8350c.dtsi. Remove unused labels. > > Fixes: 7a79b95f4288 ("arm64: dts: qcom: pm8350: add temp sensor and thermal zone config") > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/pm8350.dtsi | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qcom/pm8350.dtsi > index 2dfeb99300d7..9fb963df4b41 100644 > --- a/arch/arm64/boot/dts/qcom/pm8350.dtsi > +++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi > @@ -8,19 +8,19 @@ > > / { > thermal-zones { > - pm8350_thermal: pm8350c-thermal { > + pm8350-thermal { > polling-delay-passive = <100>; > polling-delay = <0>; > thermal-sensors = <&pm8350_temp_alarm>; > > trips { > - pm8350_trip0: trip0 { > + trip0 { > temperature = <95000>; > hysteresis = <0>; > type = "passive"; > }; > > - pm8350_crit: pm8350c-crit { > + crit { > temperature = <115000>; > hysteresis = <0>; > type = "critical";
diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qcom/pm8350.dtsi index 2dfeb99300d7..9fb963df4b41 100644 --- a/arch/arm64/boot/dts/qcom/pm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi @@ -8,19 +8,19 @@ / { thermal-zones { - pm8350_thermal: pm8350c-thermal { + pm8350-thermal { polling-delay-passive = <100>; polling-delay = <0>; thermal-sensors = <&pm8350_temp_alarm>; trips { - pm8350_trip0: trip0 { + trip0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; - pm8350_crit: pm8350c-crit { + crit { temperature = <115000>; hysteresis = <0>; type = "critical";
Correct the thermal zone node names to remove the clash with pm8350c.dtsi. Remove unused labels. Fixes: 7a79b95f4288 ("arm64: dts: qcom: pm8350: add temp sensor and thermal zone config") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/pm8350.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)