Loading drivers/power/supply/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -41,4 +41,14 @@ config SMB1398_CHARGER wireless charger receiver and provide the input for downstream chargers. 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. endif drivers/power/supply/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,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 obj-$(CONFIG_SMB1355_SLAVE_CHARGER) += smb1355-charger.o pmic-voter.o drivers/power/supply/qcom/smb1355-charger.c 0 → 100644 +1703 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
drivers/power/supply/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -41,4 +41,14 @@ config SMB1398_CHARGER wireless charger receiver and provide the input for downstream chargers. 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. endif
drivers/power/supply/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,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 obj-$(CONFIG_SMB1355_SLAVE_CHARGER) += smb1355-charger.o pmic-voter.o
drivers/power/supply/qcom/smb1355-charger.c 0 → 100644 +1703 −0 File added.Preview size limit exceeded, changes collapsed. Show changes