mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type
@ 2026-11-06 17:37 Krzysztof Kozlowski
  2026-11-06 17:37 ` [PATCH 2/2] arm64: dts: qcom: sm8150: Drop non-existing enable-gpio in PCI Krzysztof Kozlowski
  2026-12-02 16:22 ` [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type Konrad Dybcio
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-06 17:37 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley,
	Barnabás Czémán, Dang Huynh, Dmitry Baryshkov,
	linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, Sashiko, stable

CPU4 thermal zone, unlike the rest CPU5-7, has reversed types for
75 and 85 *C trips: the "passive", not "hot" should be used for alert
triggering cooling device.  Wrong types could cause missing thermal
throttling of CPU4.

Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/bug/linux-3ae74c01-648b-445f-9a65-114b2d3b2ac6
Fixes: a829f6f2e8a7 ("arm64: dts: qcom: Add initial support for MSM8937")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/msm8937.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8937.dtsi b/arch/arm64/boot/dts/qcom/msm8937.dtsi
index 7de6447de48f..6729b39c3f2e 100644
--- a/arch/arm64/boot/dts/qcom/msm8937.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8937.dtsi
@@ -1942,13 +1942,13 @@ trips {
 				cpu4_alert0: trip-point0 {
 					temperature = <75000>;
 					hysteresis = <2000>;
-					type = "passive";
+					type = "hot";
 				};
 
 				cpu4_alert1: trip-point1 {
 					temperature = <85000>;
 					hysteresis = <2000>;
-					type = "hot";
+					type = "passive";
 				};
 
 				cpu4_crit: cpu-crit {
-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: sm8150: Drop non-existing enable-gpio in PCI
  2026-11-06 17:37 [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type Krzysztof Kozlowski
@ 2026-11-06 17:37 ` Krzysztof Kozlowski
  2026-12-02 16:23   ` Konrad Dybcio
  2026-12-02 16:22 ` [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type Konrad Dybcio
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-06 17:37 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley,
	Barnabás Czémán, Dang Huynh, Dmitry Baryshkov,
	linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Qualcomm PCI bindings do not allow enable-gpio.  Linux drivers do not
use it, either.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 293fcbacff34..e62a3005134f 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -2019,8 +2019,6 @@ pcie1: pcie@1c08000 {
 
 			power-domains = <&gcc PCIE_1_GDSC>;
 
-			enable-gpio = <&tlmm 104 GPIO_ACTIVE_HIGH>;
-
 			pinctrl-names = "default";
 			pinctrl-0 = <&pcie1_default_state>;
 
-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type
  2026-11-06 17:37 [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type Krzysztof Kozlowski
  2026-11-06 17:37 ` [PATCH 2/2] arm64: dts: qcom: sm8150: Drop non-existing enable-gpio in PCI Krzysztof Kozlowski
@ 2026-12-02 16:22 ` Konrad Dybcio
  1 sibling, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-12-02 16:22 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Barnabás Czémán, Dang Huynh, Dmitry Baryshkov,
	linux-arm-msm, devicetree, linux-kernel
  Cc: Sashiko, stable

On 11/6/26 6:37 PM, Krzysztof Kozlowski wrote:
> CPU4 thermal zone, unlike the rest CPU5-7, has reversed types for
> 75 and 85 *C trips: the "passive", not "hot" should be used for alert
> triggering cooling device.  Wrong types could cause missing thermal
> throttling of CPU4.
> 
> Reported-by: Sashiko <sashiko-bot@kernel.org>
> Closes: https://sashiko.dev/#/bug/linux-3ae74c01-648b-445f-9a65-114b2d3b2ac6
> Fixes: a829f6f2e8a7 ("arm64: dts: qcom: Add initial support for MSM8937")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sm8150: Drop non-existing enable-gpio in PCI
  2026-11-06 17:37 ` [PATCH 2/2] arm64: dts: qcom: sm8150: Drop non-existing enable-gpio in PCI Krzysztof Kozlowski
@ 2026-12-02 16:23   ` Konrad Dybcio
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-12-02 16:23 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Barnabás Czémán, Dang Huynh, Dmitry Baryshkov,
	linux-arm-msm, devicetree, linux-kernel

On 11/6/26 6:37 PM, Krzysztof Kozlowski wrote:
> Qualcomm PCI bindings do not allow enable-gpio.  Linux drivers do not
> use it, either.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-02 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 17:37 [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type Krzysztof Kozlowski
2026-11-06 17:37 ` [PATCH 2/2] arm64: dts: qcom: sm8150: Drop non-existing enable-gpio in PCI Krzysztof Kozlowski
2026-12-02 16:23   ` Konrad Dybcio
2026-12-02 16:22 ` [PATCH 1/2] arm64: dts: qcom: msm8937: Fix CPU4 thermal trip point type Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®