You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/drivers/power/supply/qcom_r1/Kconfig

156 lines
5.5 KiB

menu "Qualcomm Technologies, Inc. Charger and Fuel Gauge support"
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 QPNP_FG_GEN4
tristate "QPNP GEN4 fuel gauge driver"
depends on MFD_SPMI_PMIC
help
Say Y here to enable the GEN4 Fuel Gauge driver. This adds support
for battery fuel gauging and state of charge of battery connected to
the device that has QTI PMICs like PM8150B. The state of charge is
reported through a BMS power supply property and also sends uevents
when the capacity is updated.
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 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 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 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_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_QNOVO5
bool "QPNP QNOVO5 driver"
depends on MFD_SPMI_PMIC
help
Say Y here to enable the Qnovo5 PBS-based pulse charging engine.
Qnovo5 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 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.
config SMB1390_CHARGE_PUMP_PSY
tristate "SMB1390 power supply framework based driver"
depends on MFD_I2C_PMIC && !SMB1390_CHARGE_PUMP
help
Say Y to include support for SMB1390 Charge Pump driver based on
power supply framework.
SMB1390 is a div2 charge pump capable of delivering 6A charge current
with very high efficiency.
config PM6150_SBU_VBUS_SHORT
bool "Driver for Short circuit detection on SBU"
depends on QPNP_SMB5
default n
help
Helps to detect SBUx to VBUS and SBUx to GND short
short circuit detection using PM6150.
config PM6150_WATER_DETECT
bool "Driver for water detection in type c connector"
depends on QPNP_SMB5
default n
help
Helps to detect water/moisture/liquid in type c connector
using PM6150.
config PM6150_CC_VBUS_SHORT
bool "Config for Short circuit detection on VBUS"
depends on QPNP_SMB5
default n
help
Helps to detect CC to VBUS
short circuit detection using PM6150.
config PM6150_USB_FALSE_DETECTION_WA_BY_GND
bool "Config USB false detection avoidance by reading PM6150 RID ADC module"
depends on QPNP_SMB5 && !SEC_FACTORY
default n
help
Work arround to avoid USB false detection by reading PM6150 RID ADC
module to know connected status.
using PM6150.
endmenu