| menu "Qualcomm Technologies Inc Charger and Fuel Gauge support" |
| |
| config QPNP_FG |
| tristate "QPNP fuel gauge driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable the Fuel Gauge driver. This adds support for |
| battery fuel gauging and state of charge of battery connected to the |
| fuel gauge. The state of charge is reported through a BMS power |
| supply property and also sends uevents when the capacity is updated. |
| |
| config QPNP_FG_GEN3 |
| tristate "QPNP GEN3 fuel gauge driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable the GEN3 Fuel Gauge driver. This adds support |
| for battery fuel gauging and state of charge of battery connected to |
| the fuel gauge. The state of charge is reported through a BMS power |
| supply property and also sends uevents when the capacity is updated. |
| |
| config SMB135X_CHARGER |
| tristate "SMB135X Battery Charger" |
| depends on I2C |
| help |
| Say Y to include support for SMB135X Battery Charger. |
| SMB135X is a dual path switching mode charger capable of charging |
| the battery with 3Amps 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. |
| |
| config SMB1360_CHARGER_FG |
| tristate "SMB1360 Charger and Fuel Gauge" |
| depends on I2C |
| help |
| Say Y to include support for SMB1360 Charger and Fuel Gauge. |
| SMB1360 is a single path switching mode charger capable of charging |
| the battery with 1.5Amps of current. It supports a fuel gauge which |
| uses voltage and coloumb counting for state of charge reporting. |
| The driver reports the status via the power supply framework. |
| A status change triggers an IRQ via the device STAT pin. |
| |
| 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. |
| |
| config SMB1351_USB_CHARGER |
| tristate "smb1351 usb charger (with VBUS detection)" |
| depends on I2C |
| help |
| Say Y to enable support for the SMB1351 switching mode based charger. |
| The driver supports charging control (enable/disable) and |
| charge-current limiting. It also provides USB VBUS detection and |
| notification support. The driver controls SMB1351 via I2C and |
| supports device-tree interface. |
| |
| config QPNP_SMB2 |
| tristate "SMB2 Battery Charger" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y to enables support for the SMB2 charging peripheral. |
| The QPNP SMB2 charger driver supports the charger peripheral |
| present in the PMICOBALT chip. |
| The power supply framework is used to communicate battery and |
| usb properties to userspace and other driver consumers such |
| as fuel gauge, USB, and USB-PD. |
| VBUS and VCONN regulators are registered for supporting OTG, |
| and powered Type-C cables respectively. |
| |
| config QPNP_SMB5 |
| tristate "SMB5 Battery Charger" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y to enables support for the SMB5 charging peripheral. |
| The QPNP SMB5 charger driver supports the charger peripheral |
| present in the chip. |
| The power supply framework is used to communicate battery and |
| usb properties to userspace and other driver consumers such |
| as fuel gauge, USB, and USB-PD. |
| VBUS and VCONN regulators are registered for supporting OTG, |
| and powered Type-C cables respectively. |
| |
| config SMB138X_CHARGER |
| tristate "SMB138X Battery Charger" |
| depends on MFD_I2C_PMIC |
| help |
| Say Y to include support for SMB138X Battery Charger. |
| SMB1380 is a dual phase 6A battery charger, and SMB1381 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. |
| |
| config QPNP_SMBCHARGER |
| tristate "QPNP SMB Charger driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable the dual path switch mode battery charger which |
| supports USB detection and battery charging up to 3A. |
| The driver also offers relevant information to userspace via the |
| power supply framework. |
| |
| config QPNP_QNOVO |
| bool "QPNP QNOVO driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable the Qnovo pulse charging engine. Qnovo driver |
| accepts pulse parameters via sysfs entries and programs the hardware |
| module. It also allows userspace code to read diagnostics of voltage |
| and current measured during certain phases of the pulses. |
| |
| config QPNP_VM_BMS |
| tristate "QPNP Voltage-Mode Battery Monitoring System driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable support for QPNP chip vm-bms device. |
| The voltage-mode (vm) BMS driver uses periodic VBATT |
| readings from the battery to calculate the State of |
| Charge. |
| |
| config QPNP_LINEAR_CHARGER |
| tristate "QPNP Linear Charger driver" |
| depends on MFD_SPMI_PMIC |
| depends on THERMAL_QPNP_ADC_TM |
| help |
| Say Y here to enable the Linear battery charger which supports USB |
| detection and charging. The driver also offers relevant information |
| to userspace via the power supply framework. |
| The power supply framework is used to communicate battery and |
| usb properties to userspace and other driver consumers like USB. |
| |
| config QPNP_TYPEC |
| tristate "QPNP Type-C driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable QPNP Type-C driver. |
| The QPNP Type-C module supports the USB type-C protocol. It supports |
| type-C cable detection and other type-C parameters such as |
| current-capability and CC-orientation. The module does not support |
| USB power-delivery. The driver adds support to report these type-C |
| parameters via the power-supply framework. |
| |
| config QPNP_QG |
| bool "QPNP Qgauge driver" |
| depends on MFD_SPMI_PMIC |
| help |
| Say Y here to enable the Qualcomm Technologies, Inc. QGauge driver |
| which uses the periodic sampling of the battery voltage and current |
| to determine the battery state-of-charge (SOC) and supports other |
| battery management features. |
| |
| config SMB1390_CHARGE_PUMP |
| tristate "SMB1390 Charge Pump" |
| depends on MFD_I2C_PMIC |
| help |
| Say Y to include support for SMB1390 Charge Pump. |
| SMB1390 is a div2 charge pump capable of delivering 6A charge current |
| with very high efficiency. |
| |
| endmenu |