Message ID | 20220808073459.396278-6-y.oudjana@protonmail.com |
---|---|
State | New |
Headers | show |
Series | power: supply: Add driver for Qualcomm SMBCHG | expand |
diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi index 022ecbcd965a..a18c9a9baacf 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi @@ -304,6 +304,12 @@ &pm8994_resin { linux,code = <KEY_VOLUMEDOWN>; }; +&pmi8994_smbchg { + status = "okay"; + + monitored-battery = <&battery>; +}; + &slpi_pil { status = "okay"; @@ -324,6 +330,8 @@ &usb3_dwc3 { phys = <&hsusb_phy1>; phy-names = "usb2-phy"; + usb-psy-name = "qcom-smbchg-usb"; + maximum-speed = "high-speed"; snps,is-utmi-l1-suspend; snps,usb2-gadget-lpm-disable;