menu "Qualcomm Technologies Inc Charger and Fuel Gauge support"

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_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 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 MSM_BCL_CTL
	bool "BCL Framework driver"
	help
	  Say Y here to enable this BCL Framework driver. This driver provides
	  interface, which can be used by the BCL h/w drivers to implement the
	  basic functionalities. This framework abstracts the underlying
	  hardware for the top level modules.

config MSM_BCL_PERIPHERAL_CTL
	bool "BCL driver to control the PMIC BCL peripheral"
	depends on SPMI
	depends on MSM_BCL_CTL
	help
	  Say Y here to enable this BCL PMIC peripheral driver. This driver
	  provides routines to configure and monitor the BCL
	  PMIC peripheral.

config BATTERY_BCL
	tristate "Battery Current Limit driver"
	depends on THERMAL_MONITOR
	help
	  Say Y here to enable support for battery current limit
	  device. The BCL driver will poll BMS if
	  thermal daemon enables BCL.
	  It will notify thermal daemon if IBat crosses Imax threshold.

config QPNP_SMB2
	tristate "SMB2 Battery Charger"
	depends on MFD_SPMI_PMIC
	help
	  Enables support for the SMB2 charging peripheral

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 BQ25898S_CHARGER
	tristate "TI BQ25898S battery charger driver"
	default n
	depends on MFD_I2C_PMIC
	help
	  Say Y to enable support for the TI BQ25898S battery charger.

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 LGE_PM_DEBUG
	tristate "Support LGE PM Debug Feature"
	default n
	depends on MACH_LGE
	help
	  LGE PM Debug Feature

config LGE_PM_SOC_SCALING
	bool "Battery Capacity Scaling"
	depends on LGE_PM
	help
	  Say Y here to enable the battery capacity to be scaled.

config LGE_PM_BATTID_CONNECTED_GND
	bool "Fake batt ID"
	depends on LGE_PM
	help
	  Say Y only batt_id was directly connected to GND

config LGE_PM_FG_AGE
	tristate "QPNP FG battery age mode"
	depends on LGE_PM
	default n
	help
	 Say Y to enable to battery age mode for KDDI or DCM.
	 age value is 1 = very good condition
	 age value is 2 = good condition
	 age value is 3 = bad condition

config LGE_PM_CYCLE_BASED_CHG_VOLTAGE
	bool "LGE battery cycle based chg voltage change feature"
	default n
	depends on LGE_PM
	help
	  lge battery extending feature

config LGE_PM_CYCLE_BASED_WEIGHT
	bool "LGE battery cycle based weight feature"
	depends on LGE_PM
	depends on LGE_PM_CYCLE_BASED_CHG_VOLTAGE
	default n
	help
	  lge battery extending feature with cycle weight

config LGE_PM_USE_FAKE_BATT_TEMP_CTRL
	bool "Support Fake battery temp update"
	default n
	help
	  Say Y to enable support for the fake battery temperature update.

config LGE_PM_FACTORY_TESTMODE
	bool "Support factory testmode for AT Command"
	depends on LGE_PM
	default n
	help
	  Say Y to enable factory testmode in qpnp-smbcharger

config LGE_PM_WEAK_BATT_PACK
	bool "support for weak battery pack"
	default n
	depends on LGE_PM
	help
	  support for weak battery pack

config LGE_PM_STEP_CHARGING
	bool "Support step charging"
	depends on LGE_PM
	default n
	help
	  Say Y to enable step charging

config LGE_PM_CHARGERLOGO_WAIT_FOR_FG_INIT
	bool "Wait for FG init in LGE Chargerlogo"
	default n
	depends on LGE_PM_DEBUG
	depends on QPNP_FG_GEN3
	help
	  It is wait for FG init in LGE Chargerlogo.

config LGE_PM_INOV_GEN3_SYSFS_SUPPORT
	bool "INOV GEN3 Support for QCT Platform"
	default n
	depends on ARCH_MSM8998
	help
	  PMI8998 Temperature Sensor read interface at sysfs

config LGE_PM_CC_PROTECT
	bool "Support protect cc pin"
	depends on LGE_PM
	default n
	help
	  Say Y to enable protect cc pin.
config LGE_PM_FG_SANITY_CHECK
	bool "FG Sanity Check work"
	depends on LGE_PM
	default n
	help
	  Say Y to enable FG Sanity Check Work.
endmenu
