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

Commit 279146a9 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb1390: Add snapshot of driver



Add snapshot of the SMB1390 driver as of msm-4.14
'commit 2af01acb8e045 ("clk: qcom: gdsc: Remove global mutex lock in
enable/disable callbacks")'.

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

Change-Id: I94b8075ad940023e3f67169b1fba0142ca028569
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent be0c7ce5
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -15,4 +15,16 @@ config QPNP_SMB5
	  VBUS and VCONN regulators are registered for supporting OTG,
	  and powered Type-C cables respectively.

config SMB1390_CHARGE_PUMP_PSY
	tristate "SMB1390 power supply framework based driver"
	depends on MFD_I2C_PMIC
	help
	  Say Y to include support for SMB1390 Charge Pump driver based on
	  power supply framework.
	  SMB1390 is a div2 charge pump capable of delivering 6A charge current
	  with very high efficiency. It can work either as 2s to 1s
	  pre-regulator or as a companion charger when paired with Qualcomm
	  Technologies, Inc.’s family of standalone chargers to enable a high
	  current, low profile Li+ battery charging system.

endmenu
+1 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

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
+1026 −0

File added.

Preview size limit exceeded, changes collapsed.