Skip to content

Commit

Permalink
power: supply: add Qualcomm PMI8998 SMB2 Charger driver
Browse files Browse the repository at this point in the history
Add a driver for the SMB2 charger block found in the Qualcomm PMI8998
and PM660.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
  • Loading branch information
calebccff authored and intel-lab-lkp committed Jul 6, 2022
1 parent a578cc3 commit a6b3154
Show file tree
Hide file tree
Showing 3 changed files with 1,054 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/power/supply/Kconfig
Expand Up @@ -897,4 +897,13 @@ config BATTERY_UG3105
device is off or suspended, the functionality of this driver is
limited to reporting capacity only.

config CHARGER_QCOM_SMB2
tristate "Qualcomm PMI8998 PMIC charger driver"
depends on MFD_SPMI_PMIC
depends on IIO
help
Say Y here to enable the Qualcomm PMIC Charger driver. This
adds support for the SMB2 switch mode battery charger found
in PMI8998 and related PMICs.

endif # POWER_SUPPLY
1 change: 1 addition & 0 deletions drivers/power/supply/Makefile
Expand Up @@ -108,3 +108,4 @@ obj-$(CONFIG_BATTERY_ACER_A500) += acer_a500_battery.o
obj-$(CONFIG_BATTERY_SURFACE) += surface_battery.o
obj-$(CONFIG_CHARGER_SURFACE) += surface_charger.o
obj-$(CONFIG_BATTERY_UG3105) += ug3105_battery.o
obj-$(CONFIG_CHARGER_QCOM_SMB2) += qcom_pmi8998_charger.o

0 comments on commit a6b3154

Please sign in to comment.