Patch "arm64: dts: qcom: sc7180-trogdor: Keep pm6150_adc enabled for TZ" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: qcom: sc7180-trogdor: Keep pm6150_adc enabled for TZ

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-qcom-sc7180-trogdor-keep-pm6150_adc-enable.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d8830a1624453a1dd258f57656b52336eca96c2f
Author: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Date:   Fri Aug 26 17:49:00 2022 -0700

    arm64: dts: qcom: sc7180-trogdor: Keep pm6150_adc enabled for TZ
    
    [ Upstream commit 144fbd028fdec2deeb3b99d5e60dbf3167950ebe ]
    
    There's still a thermal zone using pm6150_adc in the pm6150.dtsi file,
    pm6150_thermal. It's not super obvious because it indirectly uses the
    adc through an iio channel in pm6150_temp. Let's keep this enabled on
    lazor and coachz so that reading the temperature of the pm6150_thermal
    zone continues to work. Otherwise we get -EINVAL when reading the zone,
    and I suspect the PMIC temperature trip doesn't work properly so we
    don't shutdown when the PMIC overheats.
    
    Cc: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
    Fixes: b8d1e3d33487 ("arm64: dts: qcom: sc7180-trogdor: Delete ADC config for unused thermistors")
    Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
    Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220827004901.511543-1-swboyd@xxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1.dts
index 8290d036044a..edfcd47e1a00 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1.dts
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1.dts
@@ -24,8 +24,6 @@
 };
 
 &pm6150_adc {
-	status = "disabled";
-
 	/delete-node/ skin-temp-thermistor@4e;
 	/delete-node/ charger-thermistor@4f;
 };
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
index 2cf7d5212c61..002663d752da 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
@@ -55,8 +55,6 @@ ap_ts_pen_1v8: &i2c4 {
 };
 
 &pm6150_adc {
-	status = "disabled";
-
 	/delete-node/ charger-thermistor@4f;
 };
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux