public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 RESEND] arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins
@ 2026-05-06  3:19 Val Packett
  0 siblings, 0 replies; only message in thread
From: Val Packett @ 2026-05-06  3:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Laurentiu Tudor, Bryan O'Donoghue, Val Packett
  Cc: Konrad Dybcio, Abel Vesa, linux-arm-msm, devicetree, linux-kernel

i2c20 is used by the battmgr service on the ADSP to communicate with the
SBS interface of the battery. Initializing it from Linux would break the
battmgr functionality when booted in EL2. Mark those pins as reserved.

Fixes: e7733b42111c ("arm64: dts: qcom: Add support for Dell Inspiron 7441 / Latitude 7455")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Val Packett <val@packett.cool>
---

Pinnnng..

Previously sent as https://lore.kernel.org/all/20260312005731.12488-2-val@packett.cool/

OK technically that was a 2-patch series that also included the PCIe root port
thing that's now being handled collectively for all devices where it was missing:
https://lore.kernel.org/all/20260330020934.3501247-1-ziyue.zhang@oss.qualcomm.com/
and because of that I'm only sending this, but still

---
 arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi b/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi
index 7d56d05254f6..3b491369767e 100644
--- a/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi
@@ -982,12 +982,6 @@ &i2c8 {
 	status = "okay";
 };
 
-&i2c20 {
-	clock-frequency = <400000>;
-
-	status = "okay";
-};
-
 &lpass_tlmm {
 	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
 		pins = "gpio12";
@@ -1313,6 +1307,7 @@ right_tweeter: speaker@0,1 {
 &tlmm {
 	gpio-reserved-ranges = <44 4>,  /* SPI11 (TPM) */
 			       <76 4>,  /* SPI19 (TZ Protected) */
+			       <80 2>,  /* I2C20 (Battery SMBus) */
 			       <238 1>; /* UFS Reset */
 
 	cam_rgb_default: cam-rgb-default-state {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-06  3:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06  3:19 [PATCH v4 RESEND] arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins Val Packett

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