mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
power: smb1351-charger: Add snapshot of smb1351-charger driver
Add snapshot of the smb1351-charger driver as of msm-4.14
'commit 071bcab9a84d ("ARM: dts: msm: Add UFS support for
kdump kernel on sa8195")'.
Change-Id: I6e0aec2556c659d48ad0c1f785f26143346dcbf0
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
This commit is contained in:
parent
5efe160642
commit
d3490070dd
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