From nobody Wed Feb 11 03:48:31 2026 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F0691DF97F for ; Wed, 19 Feb 2025 11:36:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739965018; cv=none; b=Kw2ibeNOWtZxyXUq3diSY8AET+sDdZxs/jZlSliUIYT683QyoG+Bip29DCIJUXR9Ys0tASxssYEfkj1RQwFlQhV/CrigsERHo9Gx5BMGRMUldAqbR0ZEpGAwIljqJ9bO9Na2mQ5trcNgXsqe9Qvh07qDikJqBCzPhiHmsf0HR9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739965018; c=relaxed/simple; bh=VBtYLlI32D1IT1g6oXAH+/Y5Mni8ARmIevFsmFIlkEI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tUr+S0pCkl3imiLPkRZXi5BhD7cCviaqQTSZlsKyjbQm8KjG89oKlm12xdpXB/AyghFxjQ3+EmqkZA/CUs1KKyaLh9qfXsWyu0VDRb5OQO5HMYyR60nMydWTbK+jFEruVLOtt/3XW9wU+wWuha5VwFWinjy65V0o0jv3mjF8Pvw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CFnvCbqc; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CFnvCbqc" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4399d14334aso3790465e9.0 for ; Wed, 19 Feb 2025 03:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739965014; x=1740569814; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=o2xAYRgSHSTQxHrbNsTs5CuiGhXgTzNq3Zj4ycfB7Kk=; b=CFnvCbqcDDcoJJMjNQNtB7TtLBmXEcHAdjTwuVpzb0X/Zx+34exBvs08OBp/dVEVPw AnAkcPXJSC7AhUgwk8PFaMupeiYUI6IdDLGfGnumjrVZBwlQcFHWATngh0JKQLMpOV/s nH8i2G7buCUSfXt65GBNSPaRqdZLI9utHN9pDUkoShi4wdMfnHo8i/r6LxBLxGE44mcN MJ1xbIcxkIBC4BCYUrIguPk1F1jF3ohoWRM1te5AWxg0MvcSL10jdWCmxJGL7rfkze9K 5FxZpN5rb0NBizjD/XVzigKpuyqwKJfeSAupMC71JlfsRlKk3RZpQiEJBpAKo/N4fUI0 zKvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739965014; x=1740569814; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o2xAYRgSHSTQxHrbNsTs5CuiGhXgTzNq3Zj4ycfB7Kk=; b=g/842r3mzUfU/NLgdWPhZxKqsAGKLOP6Vb8MYJPEBUMwhXzjejYH240t8zoQjKpXES qkeyPM9LnzLiCP+UnOm3l0D0nY+XFDTw1eKWu/lTjCK4RZO7t10I75GJTN+x8vEdS6D8 e5HF+2y/0pTIjgl+Rw4yRI57fmSobNnD6wGTpZVRlz2t8YI5XLreCrGPRrvAczWdJfr3 KzOloSCPihdJvJl4O0tKl3NKMlwH6BUtzsl8oc0XwvtjXj6sgloawuIqWXutaKHFM1Le i6xRSJgkqAHPcMqRibhbrJzBjEmhPiRv3eV2lqf8TCjYWfjGvy8ZBT84nL2epnLJr97V b2SQ== X-Forwarded-Encrypted: i=1; AJvYcCUI38CHO7izt2qcOQTVjirSeZD5uCLF0/7GghioBzhtyXbBTZCCzhj4LutZgP/xvmKNu/7T++aszOcOqyI=@vger.kernel.org X-Gm-Message-State: AOJu0YxKRsRwVep5nnkswFe55d7dkKrqDFkTOtAmPjdGW5JejU9CRyFD sRDWb8/8zahzPjJ/yH1yDFCF3mFyCh3d9t6FKN5C4IfGf448UG/ORF+Wz6cCs9k= X-Gm-Gg: ASbGncv3u3//cGN96eX9w0xke8a9MlgtCTGNT7uQZITjufQyKsfS4ptq9UswhYBWLlp x4H+qqA7r2OzCRuJgkafFv/7LNLHIaONue1egE6k/RS7mK8FSIgIJ8BGqm3Acq6+SF+fcxzXiFo Hc/NBMN6RiOcia2sD3gh3UEdrmaseS+XqJk8f3+f/SuEH5C16p9AdD3tPRJKcCXHH3qrKJun9PI jwVB4+POuTf/hNrDDlEeFwlF+97xnRGOxP9XDp7uXMbKDUyjiuHAsmTZ9+elF+v/0H9dGQN0a7m bRMC//53tGI5CPICgze2EBpTy4QlRA== X-Google-Smtp-Source: AGHT+IGHf16s+kr6QC93nlk3mFr3yas/GHw1k1Yy1YQcjY7HS5Er1cYbYWvfsxfitogVCnNTDB+LGg== X-Received: by 2002:a05:600c:511e:b0:439:8bc3:a698 with SMTP id 5b1f17b1804b1-43999d7591bmr31932825e9.6.1739965014306; Wed, 19 Feb 2025 03:36:54 -0800 (PST) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:8630:e1af:c2ac:8a22]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4399600257asm42437905e9.4.2025.02.19.03.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2025 03:36:53 -0800 (PST) From: Stephan Gerhold Date: Wed, 19 Feb 2025 12:36:21 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: x1e80100: Drop unused passive thermal trip points for CPU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250219-x1e80100-thermal-fixes-v1-4-d110e44ac3f9@linaro.org> References: <20250219-x1e80100-thermal-fixes-v1-0-d110e44ac3f9@linaro.org> In-Reply-To: <20250219-x1e80100-thermal-fixes-v1-0-d110e44ac3f9@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Rajendra Nayak , Akhil P Oommen , Johan Hovold , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.14.2 There are currently two passive trip points defined for the CPU, but no cooling devices are attached to the thermal zones. We don't have support for cpufreq upstream yet, but actually this is redundant anyway because the CPU is throttled automatically when reaching high temperatures. Drop the passive trip points and keep just the critical shutdown as safety measure in case the throttling fails. Signed-off-by: Stephan Gerhold Reviewed-by: Johan Hovold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 372 -----------------------------= ---- 1 file changed, 372 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index a0d4be29a489618a152f79d15a847338271f12d4..53512e7a413ddcd8cb53996a04c= 27d9094d8d4c0 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -8466,23 +8466,9 @@ aoss0-critical { }; =20 cpu0-0-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 1>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8492,23 +8478,9 @@ cpu-critical { }; =20 cpu0-0-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 2>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8518,23 +8490,9 @@ cpu-critical { }; =20 cpu0-1-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 3>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8544,23 +8502,9 @@ cpu-critical { }; =20 cpu0-1-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 4>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8570,23 +8514,9 @@ cpu-critical { }; =20 cpu0-2-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 5>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8596,23 +8526,9 @@ cpu-critical { }; =20 cpu0-2-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 6>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8622,23 +8538,9 @@ cpu-critical { }; =20 cpu0-3-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 7>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8648,23 +8550,9 @@ cpu-critical { }; =20 cpu0-3-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens0 8>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8677,12 +8565,6 @@ cpuss0-top-thermal { thermal-sensors =3D <&tsens0 9>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "hot"; - }; - cpuss2-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8695,12 +8577,6 @@ cpuss0-btm-thermal { thermal-sensors =3D <&tsens0 10>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "hot"; - }; - cpuss2-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8764,23 +8640,9 @@ aoss0-critical { }; =20 cpu1-0-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 1>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8790,23 +8652,9 @@ cpu-critical { }; =20 cpu1-0-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 2>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8816,23 +8664,9 @@ cpu-critical { }; =20 cpu1-1-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 3>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8842,23 +8676,9 @@ cpu-critical { }; =20 cpu1-1-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 4>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8868,23 +8688,9 @@ cpu-critical { }; =20 cpu1-2-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 5>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8894,23 +8700,9 @@ cpu-critical { }; =20 cpu1-2-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 6>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8920,23 +8712,9 @@ cpu-critical { }; =20 cpu1-3-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 7>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8946,23 +8724,9 @@ cpu-critical { }; =20 cpu1-3-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens1 8>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8975,12 +8739,6 @@ cpuss1-top-thermal { thermal-sensors =3D <&tsens1 9>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "hot"; - }; - cpuss2-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -8993,12 +8751,6 @@ cpuss1-btm-thermal { thermal-sensors =3D <&tsens1 10>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "hot"; - }; - cpuss2-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9026,23 +8778,9 @@ aoss0-critical { }; =20 cpu2-0-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 1>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9052,23 +8790,9 @@ cpu-critical { }; =20 cpu2-0-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 2>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9078,23 +8802,9 @@ cpu-critical { }; =20 cpu2-1-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 3>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9104,23 +8814,9 @@ cpu-critical { }; =20 cpu2-1-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 4>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9130,23 +8826,9 @@ cpu-critical { }; =20 cpu2-2-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 5>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9156,23 +8838,9 @@ cpu-critical { }; =20 cpu2-2-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 6>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9182,23 +8850,9 @@ cpu-critical { }; =20 cpu2-3-top-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 7>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9208,23 +8862,9 @@ cpu-critical { }; =20 cpu2-3-btm-thermal { - polling-delay-passive =3D <250>; - thermal-sensors =3D <&tsens2 8>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - - trip-point1 { - temperature =3D <95000>; - hysteresis =3D <2000>; - type =3D "passive"; - }; - cpu-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9237,12 +8877,6 @@ cpuss2-top-thermal { thermal-sensors =3D <&tsens2 9>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "hot"; - }; - cpuss2-critical { temperature =3D <115000>; hysteresis =3D <1000>; @@ -9255,12 +8889,6 @@ cpuss2-btm-thermal { thermal-sensors =3D <&tsens2 10>; =20 trips { - trip-point0 { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "hot"; - }; - cpuss2-critical { temperature =3D <115000>; hysteresis =3D <1000>; --=20 2.47.2