mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
power: smb1355: Add snapshot of SMB1355 charger driver
Add snapshot of smb1355 charger driver as of msm-4.19
'commit 9f2b8d8b1a ("trace: increase caller depth for preempt/irqs
disable events")'.
Change-Id: I91f456c8385cb70d6e3dcface4239ea35140c080
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
This commit is contained in:
parent
269ef17387
commit
17d59b158f
3 changed files with 1714 additions and 0 deletions
|
|
@ -41,4 +41,14 @@ config SMB1398_CHARGER
|
|||
wireless charger receiver and provide the input for downstream
|
||||
chargers.
|
||||
|
||||
config SMB1355_SLAVE_CHARGER
|
||||
tristate "SMB1355 Slave Battery Charger"
|
||||
depends on MFD_I2C_PMIC
|
||||
help
|
||||
Say Y to include support for SMB1355 Battery Charger.
|
||||
SMB1355 is a single phase 5A battery charger.
|
||||
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
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@
|
|||
obj-$(CONFIG_QPNP_QG) += qpnp-qg.o battery-profile-loader.o pmic-voter.o qg-util.o qg-soc.o qg-sdam.o qg-battery-profile.o qg-profile-lib.o fg-alg.o
|
||||
obj-$(CONFIG_QPNP_SMB5) += step-chg-jeita.o battery.o qpnp-smb5.o smb5-lib.o pmic-voter.o storm-watch.o schgm-flash.o
|
||||
obj-$(CONFIG_SMB1398_CHARGER) += smb1398-charger.o pmic-voter.o
|
||||
obj-$(CONFIG_SMB1355_SLAVE_CHARGER) += smb1355-charger.o pmic-voter.o
|
||||
|
|
|
|||
1703
drivers/power/supply/qcom/smb1355-charger.c
Normal file
1703
drivers/power/supply/qcom/smb1355-charger.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue