mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "power: smb358: Add snapshot of smb358 charger"
This commit is contained in:
commit
93338907ef
3 changed files with 2703 additions and 0 deletions
|
|
@ -90,4 +90,15 @@ config SMB1351_USB_CHARGER
|
|||
charge-current limiting. It also provides USB VBUS detection and
|
||||
notification support. The driver controls SMB1351 via I2C and
|
||||
supports device-tree interface.
|
||||
|
||||
config SMB358_CHARGER
|
||||
tristate "SMB358 Battery Charger"
|
||||
depends on I2C
|
||||
help
|
||||
Say Y to include support for SMB358 Battery Charger.
|
||||
SMB358 is a single path switching mode charger capable of charging
|
||||
the battery with 2Amps of current.
|
||||
The driver supports charger enable/disable.
|
||||
The driver reports the charger status via the power supply framework.
|
||||
A charger status change triggers an IRQ via the device STAT pin.
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ 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
|
||||
obj-$(CONFIG_SMB358_CHARGER) += smb358-charger.o
|
||||
|
|
|
|||
2691
drivers/power/supply/qcom/smb358-charger.c
Normal file
2691
drivers/power/supply/qcom/smb358-charger.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue