Skip to content

Commit 9cb93ec

Browse files
valpackettgregkh
authored andcommitted
arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins
[ Upstream commit 4b15b03 ] 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: e7733b4 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a171bc6 commit 9cb93ec

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -982,12 +982,6 @@
982982
status = "okay";
983983
};
984984

985-
&i2c20 {
986-
clock-frequency = <400000>;
987-
988-
status = "okay";
989-
};
990-
991985
&lpass_tlmm {
992986
spkr_01_sd_n_active: spkr-01-sd-n-active-state {
993987
pins = "gpio12";
@@ -1306,6 +1300,7 @@
13061300
&tlmm {
13071301
gpio-reserved-ranges = <44 4>, /* SPI11 (TPM) */
13081302
<76 4>, /* SPI19 (TZ Protected) */
1303+
<80 2>, /* I2C20 (Battery SMBus) */
13091304
<238 1>; /* UFS Reset */
13101305

13111306
cam_rgb_default: cam-rgb-default-state {

0 commit comments

Comments
 (0)