arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins
PATCH RESEND v4 1/1 arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins
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 <[email protected]>
Reviewed-by Abel Vesa <[email protected]>
Signed-off-by Val Packett <[email protected]>
---
Pinnnng..
Previously sent as https://lore.kernel.org/all/[email protected]/
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/[email protected]/
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(-)
arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi +1 -6
@@ -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 {
Signature · 1 line
2.53.0