-
-
sent/20230524-pmi8998-charger-dts-12545236ce33-v1f2135271 · ·
Enable PMI8998 charger on supported devices These devices have been fairly heavily validated with the driver and are known to not explode. Add the pmi8998_charger node to pmi8998 and enable the charger for the OnePlus 6(T), PocoPhone F1 and SHIFT6mq. The charger depends on the RRADC for the input voltage and current. The RRADC was originally disabled by default, but there isn't really a need for this as it's used by all devices. Let's take the opportunity to enable it by default. The associated driver and dt-bindings that this series depends on can be found here: https://lore.kernel.org/linux-arm-msm/20230524-pmi8998-charger-v8-0-b87ffcd9864d@linaro.org To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: phone-devel@vger.kernel.org --- Caleb Connolly (5): dt-bindings: mfd: qcom,spmi-pmic: Document pmi8998 charger arm64: dts: qcom: pmi8998: enable rradc by default arm64: dts: qcom: pmi8998: add charger node arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger arm64: dts: qcom: sdm845-shift-axolotl: enable pmi8998 charger Joel Selvaraj (1): arm64: dts: qcom: sdm845-xiaomi-beryllium: enable pmi8998 charger .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + .../boot/dts/qcom/msm8998-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 22 ++++++++++++++++++++-- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ---- .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 2 +- .../boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 9 +++++++++ .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 15 ++++++++++++--- 9 files changed, 51 insertions(+), 14 deletions(-) --- base-commit: cc08021afd54862446ef11fd683558a7e57cdc6a // Caleb (they/them)
-
sent/20230524-pmi8998-charger-8209dbbf7648-v84814f9c8 · ·
power: supply: introduce support for the Qualcomm smb2 charger Add a driver for the Qualcomm PMI8998/PM660 Switch-Mode Battery Charger. This is the second generation SMB charger, and replaces the previous SMBB hardware found in older PMICs. Changes since v7: * Implement fixes suggested by Sebastian * Fix format warning V7: https://lore.kernel.org/linux-arm-msm/20230127230506.3140297-1-caleb.connolly@linaro.org/ To: Sebastian Reichel <sre@kernel.org> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> To: Caleb Connolly <caleb.connolly@linaro.org> To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Nathan Chancellor <nathan@kernel.org> To: Nick Desaulniers <ndesaulniers@google.com> To: Tom Rix <trix@redhat.com> Cc: linux-pm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: phone-devel@vger.kernel.org --- Caleb Connolly (2): dt-bindings: power: supply: qcom,pmi8998-charger: add bindings for smb2 driver power: supply: add Qualcomm PMI8998 SMB2 Charger driver .../power/supply/qcom,pmi8998-charger.yaml | 82 ++ drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_pmi8998_charger.c | 1059 ++++++++++++++++++++ 4 files changed, 1151 insertions(+) --- base-commit: ac9a78681b921877518763ba0e89202254349d1b change-id: 20230524-pmi8998-charger-8209dbbf7648 Best regards,
-
sdm845-6.3.290ee5bbb · ·