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

Commit df5eb52b authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb1355: Add snapshot of driver



Add snapshot of the smb1355-charger driver as of msm-4.14
'commit 7e16ff6cdde5 ("defconfig: qcs405: enable WLAN configs
for 32-bit QCS405")'.

Changed use of cancel_work() to cancel_work_sync() as the former has
been made obsolete.

Change-Id: Ie4414b8b36fc29fd0cbe6e7bbee8c45973d2bf05
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 4eef9884
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -27,4 +27,14 @@ config SMB1390_CHARGE_PUMP_PSY
	  Technologies, Inc.’s family of standalone chargers to enable a high
	  current, low profile Li+ battery charging system.

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.

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@

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_SMB1390_CHARGE_PUMP_PSY)       += smb1390-charger-psy.o pmic-voter.o
obj-$(CONFIG_SMB1355_SLAVE_CHARGER)   += smb1355-charger.o pmic-voter.o
+1466 −0

File added.

Preview size limit exceeded, changes collapsed.