mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
Merge "power: smb1351-charger: Add snapshot of smb1351-charger driver"
This commit is contained in:
commit
17c532e42b
3 changed files with 3135 additions and 0 deletions
|
|
@ -81,4 +81,13 @@ config SMB1390_CHARGE_PUMP_PSY
|
|||
family of standalone chargers to enable a high current, low profile
|
||||
Li+ battery charging system.
|
||||
|
||||
config SMB1351_USB_CHARGER
|
||||
tristate "smb1351 usb charger (with VBUS detection)"
|
||||
depends on MFD_I2C_PMIC
|
||||
help
|
||||
Say Y to enable support for the SMB1351 switching mode based charger.
|
||||
The driver supports charging control (enable/disable) and
|
||||
charge-current limiting. It also provides USB VBUS detection and
|
||||
notification support. The driver controls SMB1351 via I2C and
|
||||
supports device-tree interface.
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ obj-$(CONFIG_QPNP_SMBLITE) += step-chg-jeita.o battery.o qpnp-smblite.o
|
|||
obj-$(CONFIG_SMB1355_SLAVE_CHARGER) += qcom-smb1355-charger.o
|
||||
qcom-smb1355-charger-y += smb1355-charger.o pmic-voter.o
|
||||
obj-$(CONFIG_SMB1390_CHARGE_PUMP_PSY) += smb1390-charger-psy.o pmic-voter.o
|
||||
obj-$(CONFIG_SMB1351_USB_CHARGER) += smb1351-charger.o pmic-voter.o battery.o
|
||||
|
|
|
|||
3125
drivers/power/supply/qcom/smb1351-charger.c
Normal file
3125
drivers/power/supply/qcom/smb1351-charger.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue