Loading drivers/power/supply/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -132,5 +132,15 @@ config SMB1398_CHARGER (2) DIV2 and 3-level buck combo mode to regulate the output power from wireless charger receiver and provide the input for downstream chargers. config SMB358_CHARGER tristate "SMB358 Battery Charger" depends on I2C help Say Y to include support for SMB358 Battery Charger. SMB358 is a single path switching mode charger capable of charging the battery with 2Amps of current. 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. endmenu drivers/power/supply/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,4 @@ obj-$(CONFIG_QPNP_SMB5) += step-chg-jeita.o battery.o qpnp-smb5.o smb5-lib.o pm 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 obj-$(CONFIG_SMB358_CHARGER) += smb358-charger.o drivers/power/supply/qcom/smb358-charger.c 0 → 100644 +2701 −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 @@ -132,5 +132,15 @@ config SMB1398_CHARGER (2) DIV2 and 3-level buck combo mode to regulate the output power from wireless charger receiver and provide the input for downstream chargers. config SMB358_CHARGER tristate "SMB358 Battery Charger" depends on I2C help Say Y to include support for SMB358 Battery Charger. SMB358 is a single path switching mode charger capable of charging the battery with 2Amps of current. 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. endmenu
drivers/power/supply/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,4 @@ obj-$(CONFIG_QPNP_SMB5) += step-chg-jeita.o battery.o qpnp-smb5.o smb5-lib.o pm 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 obj-$(CONFIG_SMB358_CHARGER) += smb358-charger.o
drivers/power/supply/qcom/smb358-charger.c 0 → 100644 +2701 −0 File added.Preview size limit exceeded, changes collapsed. Show changes