Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4f92443 authored by Kavya Nunna's avatar Kavya Nunna
Browse files

power: smb358: Add snapshot of smb358 charger



Add snapshot of the smb358 charger as of msm-4.14
commit 790f0644f00c ("net: stmmac: Alert QTI on SDX
of host AP's SSR status"). Fix minor static analysis
tool errors.

Change-Id: I7c88f48a90cfca6c22ac4ed5289f78a32e524dc4
Signed-off-by: default avatarKavya Nunna <knunna@codeaurora.org>
parent 33569a19
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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 −0

File added.

Preview size limit exceeded, changes collapsed.