]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins
authorVal Packett <val@packett.cool>
Thu, 12 Mar 2026 00:53:37 +0000 (21:53 -0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 12 May 2026 20:41:13 +0000 (15:41 -0500)
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>
Link: https://lore.kernel.org/r/20260312005731.12488-2-val@packett.cool
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi

index 0d9a324cc6cc3b4de6d31f2e600fa6783139bc14..db291730130c7b9536d5397054615d803b76015f 100644 (file)
        status = "okay";
 };
 
-&i2c20 {
-       clock-frequency = <400000>;
-
-       status = "okay";
-};
-
 &lpass_tlmm {
        spkr_01_sd_n_active: spkr-01-sd-n-active-state {
                pins = "gpio12";
 &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 {