Message ID | 20230524-pmi8998-charger-dts-v1-5-f9334afc4505@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Enable PMI8998 charger on supported devices | expand |
On 24.05.2023 19:38, Caleb Connolly wrote: > Enable the PMI8998/smb2 charger, and denote the secondary SMB1355 > charger which is used for parallel charging. > > Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> > --- > arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts > index 0ad891348e0c..bb0f55c52a95 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts > @@ -494,6 +494,10 @@ touchscreen@38 { > }; > }; > > +&i2c10 { > + /* SMB1355@0x0C */ > +}; > + > &ipa { > qcom,gsi-loader = "self"; > memory-region = <&ipa_fw_mem>; > @@ -522,6 +526,11 @@ pinconf { > }; > }; > > +&pmi8998_charger { > + status = "okay"; > + monitored-battery = <&battery>; Status last, please Konrad > +}; > + > &pm8998_resin { > linux,code = <KEY_VOLUMEDOWN>; > status = "okay"; >
diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts index 0ad891348e0c..bb0f55c52a95 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -494,6 +494,10 @@ touchscreen@38 { }; }; +&i2c10 { + /* SMB1355@0x0C */ +}; + &ipa { qcom,gsi-loader = "self"; memory-region = <&ipa_fw_mem>; @@ -522,6 +526,11 @@ pinconf { }; }; +&pmi8998_charger { + status = "okay"; + monitored-battery = <&battery>; +}; + &pm8998_resin { linux,code = <KEY_VOLUMEDOWN>; status = "okay";
Enable the PMI8998/smb2 charger, and denote the secondary SMB1355 charger which is used for parallel charging. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> --- arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 9 +++++++++ 1 file changed, 9 insertions(+)