mbox series

[v9,0/2] power: supply: introduce support for the Qualcomm smb2 charger

Message ID 20230524-pmi8998-charger-v9-0-cd7f6d03c0ab@linaro.org (mailing list archive)
Headers show
Series power: supply: introduce support for the Qualcomm smb2 charger | expand

Message

Caleb Connolly May 26, 2023, 9:44 p.m. UTC
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 v8:
 * Add charger bindings reference to qcom,spmi-pmic.yaml
V8: https://lore.kernel.org/all/20230524-pmi8998-charger-v8-0-b87ffcd9864d@linaro.org/

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>

---
Caleb Connolly (2):
      dt-bindings: power: supply: qcom,pmi8998-charger: add bindings for smb2 driver
      power: supply: add Qualcomm PMI8998 SMB2 Charger driver

 .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml    |    1 +
 .../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 ++++++++++++++++++++
 5 files changed, 1152 insertions(+)
---
base-commit: ac9a78681b921877518763ba0e89202254349d1b

// Caleb (they/them)

Comments

Sebastian Reichel June 8, 2023, 11:24 p.m. UTC | #1
Hi,

On Fri, May 26, 2023 at 10:44:13PM +0100, Caleb Connolly wrote:
> 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 v8:
>  * Add charger bindings reference to qcom,spmi-pmic.yaml
> V8: https://lore.kernel.org/all/20230524-pmi8998-charger-v8-0-b87ffcd9864d@linaro.org/
> 
> 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>
> ---
> Caleb Connolly (2):
>       dt-bindings: power: supply: qcom,pmi8998-charger: add bindings for smb2 driver
>       power: supply: add Qualcomm PMI8998 SMB2 Charger driver
> 
>  .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml    |    1 +
>  .../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 ++++++++++++++++++++
>  5 files changed, 1152 insertions(+)
> ---

Thanks, queued.

-- Sebastian