Loading drivers/power/supply/qcom/Kconfig +13 −0 Original line number Diff line number Diff line Loading @@ -28,4 +28,17 @@ config QPNP_SMB5 VBUS and VCONN regulators are registered for supporting OTG, and powered Type-C cables respectively. 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. endif drivers/power/supply/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ obj-$(CONFIG_QPNP_QG) += 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_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_SMB1398_CHARGER) += smb1398-charger.o pmic-voter.o drivers/power/supply/qcom/smb1398-charger.c 0 → 100644 +2675 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
drivers/power/supply/qcom/Kconfig +13 −0 Original line number Diff line number Diff line Loading @@ -28,4 +28,17 @@ config QPNP_SMB5 VBUS and VCONN regulators are registered for supporting OTG, and powered Type-C cables respectively. 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. endif
drivers/power/supply/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ obj-$(CONFIG_QPNP_QG) += 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_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_SMB1398_CHARGER) += smb1398-charger.o pmic-voter.o
drivers/power/supply/qcom/smb1398-charger.c 0 → 100644 +2675 −0 File added.Preview size limit exceeded, changes collapsed. Show changes