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

Commit 064b1642 authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Gerrit - the friendly Code Review server
Browse files

power: supply: smb1398: Add support to make SMB1398 driver GKI compliant



Add support for charge pump master and slave power supplies through IIO
devices and properties under them through IIO channels under the device.

Change-Id: Iccd70399bb1326548b2aa597ec04d648ebd28097
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent 38b1718d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ config QPNP_SMB5

config SMB1398_CHARGER
	tristate "SMB1398 power supply framework based driver"
	depends on MFD_I2C_PMIC
	depends on MFD_I2C_PMIC && IIO
	help
	  Say Y to include the support of SMB1398 Charge driver based on power
	  supply framework.
+2 −1
Original line number Diff line number Diff line
@@ -4,5 +4,6 @@ obj-$(CONFIG_QPNP_SMB5) += qpnp-smb5-main.o
qpnp-smb5-main-y += step-chg-jeita.o battery.o qpnp-smb5.o smb5-lib.o pmic-voter.o storm-watch.o schgm-flash.o battery-profile-loader.o smb5-iio.o
obj-$(CONFIG_QPNP_QG)	+= qcom-qpnp-qg.o
qcom-qpnp-qg-y	+= qpnp-qg.o battery-profile-loader.o pmic-voter.o qg-util.o qg-soc.o qg-sdam.o qg-battery-profile.o qg-profile-lib.o fg-alg.o
obj-$(CONFIG_SMB1398_CHARGER)		+= smb1398-charger.o pmic-voter.o
obj-$(CONFIG_SMB1398_CHARGER)           += qcom-smb1398-charger.o
qcom-smb1398-charger-y += smb1398-charger.o pmic-voter.o
obj-$(CONFIG_SMB1355_SLAVE_CHARGER)	+= smb1355-charger.o pmic-voter.o
+699 −397

File changed.

Preview size limit exceeded, changes collapsed.