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@xxxxxxxxxx/ To: Sebastian Reichel <sre@xxxxxxxxxx> To: Rob Herring <robh+dt@xxxxxxxxxx> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx> To: Conor Dooley <conor+dt@xxxxxxxxxx> To: Caleb Connolly <caleb.connolly@xxxxxxxxxx> To: Andy Gross <agross@xxxxxxxxxx> To: Bjorn Andersson <andersson@xxxxxxxxxx> To: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> To: Nathan Chancellor <nathan@xxxxxxxxxx> To: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> To: Tom Rix <trix@xxxxxxxxxx> --- 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, -- Caleb Connolly <caleb.connolly@xxxxxxxxxx>