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

Commit e5e4a7fa authored by Fenglin Wu's avatar Fenglin Wu Committed by Ashish Chavan
Browse files

power: supply: qcom: Initial version driver for SMB1398 charger



This is the initial driver for SMB1398 charger. It can work at CP mode
to provide DIV2 charging mode solution, it can also work as a pre-regultor
which helps to regulate the power from wireless receiver and provides
constant voltage/current input for down streaming chargers.

Change-Id: Id09e25b1d5290d22102188ab905a94956be0c410
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent 3c0776b3
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -120,4 +120,17 @@ config SMB1390_CHARGE_PUMP_PSY
	  SMB1390 is a div2 charge pump capable of delivering 6A charge current
	  with very high efficiency.

config SMB1398_CHARGER
	tristate "SMB1398 power supply framework based driver"
	depends on MFD_I2C_PMIC
	help
	  Say Y to include the support of SMB1398 Charge driver based on power
	  supply framework.
	  SMB1398 is a combo charger chip which can work in different modes:
	  (1) DIV2 charge pump mode to work as a companion charger to be paired
	      with Qualcomm Technologies, Inc.’s family of standalone chargers;
	  (2) DIV2 and 3-level buck combo mode to regulate the output power from
	      wireless charger receiver and provide the input for downstream
	      chargers.

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -10,3 +10,4 @@ obj-$(CONFIG_QPNP_QNOVO5) += qpnp-qnovo5.o battery.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_SMB1390_CHARGE_PUMP)	+= smb1390-charger.o pmic-voter.o
obj-$(CONFIG_SMB1390_CHARGE_PUMP_PSY)	+= smb1390-charger-psy.o pmic-voter.o
obj-$(CONFIG_SMB1398_CHARGER)	+= smb1398-charger.o pmic-voter.o
+2341 −0

File added.

Preview size limit exceeded, changes collapsed.