blob: c8e8c09247a6c6343f4a55f4b54ede5bf2cf59d9 [file] [log] [blame]
source "drivers/power/avs/Kconfig"
source "drivers/power/reset/Kconfig"
source "drivers/power/supply/Kconfig"
source "drivers/power/oplus/Kconfig"
config OPLUS_HQ_CHARGER
bool "OPLUS_CHARGER"
default n
help
Set Yes to support OPLUS_HQ_CHARGER features
smart battery.
Set No to disable OPLUS_HQ_CHARGER features
smart battery.
config OPLUS_CHARGER_MT6370_TYPEC
bool "OPLUS_CHARGER"
default n
help
Set Yes to support OPLUS_CHARGER_MT6370_TYPEC features
smart battery.
Set No to disable OPLUS_CHARGER_MT6370_TYPEC features
smart battery.
config OPLUS_CHARGER
bool "OPLUS_CHARGER"
default n
help
Set Yes to support OPLUS_CHARGER features
smart battery.
Set No to disable OPLUS_CHARGER features
smart battery.
config OPLUS_CHARGER_MTK
bool "OPLUS charger on MTK"
default n
help
Say Yes here to declare charging system is on MTK
Say No here to declare charging system is not on MTK
config OPLUS_CHARGER_MTK_CHGIC
bool "OPLUS_CHARGER_MTK_CHG_IC"
default n
help
Say Yes to use MTK platform charger ic
Say No to use extern charger ic
config OPLUS_CHARGER_MTK6785
bool "OPLUS_CHARGER_MTK6785"
default n
help
Set yes to support OPLUS_CHARGER_MTK6785 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6785 features
smart battery.
config OPLUS_CHARGER_MTK6769
bool "OPLUS_CHARGER_MTK6769"
default n
help
Set yes to support OPLUS_CHARGER_MTK6769 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6769 features
config OPLUS_CHARGER_MTK6889
bool "OPLUS_CHARGER_MTK6889"
default n
help
Set yes to support OPLUS_CHARGER_MTK6889 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6889 features
smart battery.
config OPLUS_CHARGER_MTK6885
bool "OPLUS_CHARGER_MTK6885"
default n
help
Set yes to support OPLUS_CHARGER_MTK6885 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6885 features
smart battery.
config OPLUS_CHARGER_MTK6873
bool "OPLUS_CHARGER_MTK6873"
default n
help
Set yes to support OPLUS_CHARGER_MTK6873 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6873 features
smart battery.
config OPLUS_CHARGER_MTK6853
bool "OPLUS_CHARGER_MTK6853"
default n
help
Set yes to support OPLUS_CHARGER_MTK6853 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6853 features
smart battery.
config OPLUS_CHARGER_MATCH_MTKGAUGE
bool "OPLUS_CHARGER_MATCH_MTKGAUGE"
default n
help
Set yes to support use mtk gauge and not use mtk charger features
smart battery.
Set No to disable OPLUS_CHARGER_MATCH_MTKGAUGE features
config OPLUS_CHARGER_MTKAGING
bool "OPLUS_CHARGER_MTKAGING"
default n
help
Set yes to support amend mtk aging algo features
Set No to disable OPLUS_CHARGER_MTKAGING features
config OPLUS_HVDCP_SUPPORT
bool "OPLUS_HVDCP_SUPPORT"
default n
help
Set yes to support hvdcp.
config OPLUS_CHECK_CHARGERID_VOLT
bool "OPLUS_CHECK_CHARGERID_VOLT"
default n
help
Set yes to support OPLUS_CHECK_CHARGERID_VOLT features
smart battery.
Set No to disable OPLUS_CHECK_CHARGERID_VOLT features
smart battery.
config MTK_DISABLE_TEMP_PROTECT
bool "control of TEMP protect"
default n
help
Say Y here to enable a function which disabled TEMP protect...
WARNNING:Only SCM could open it.
config OPLUS_CHARGER_MTK6763
bool "OPLUS_CHARGER_MTK6763"
default n
help
Set yes to support OPLUS_CHARGER_MTK6763 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6763 features
smart battery.
config OPLUS_CHARGER_MTK6771
bool "OPLUS_CHARGER_MTK6763"
default n
help
Set yes to support OPLUS_CHARGER_MTK6771 features
smart battery.
Set No to disable OPLUS_CHARGER_MTK6771 features
smart battery.
config MTK_HAFG_30
bool "OPLUS_CHECK_CHARGERID_VOLT"
default n
help
Set yes to support CHARGERID features
smart battery.
Set No to disable CHARGERID features
smart battery.
config OPLUS_4400MV_BATTERY_SUPPORT
bool "OPLUS_CHECK_CHARGERID_VOLT"
default n
help
Set yes to support BATTERYID features
smart battery.
Set No to disable BATTERYID features
smart battery.
config OPLUS_CALL_MODE_SUPPORT
bool "OPLUS call mode support"
default n
help
Say Y to enable support for the oplus call mode.
config MTK_ADDITIONAL_BATTERY_TABLE
bool "OPLUS_CHARGER_ZCV"
default n
help
Set yes to support BATTERY_ZCV features
smart battery.
Set No to disable BATTERY_ZCV features
smart battery.
#endif /* VENDOR_EDIT */
#ifdef VENDOR_EDIT /* Jianchao.Shi@BSP.CHG.Basic, 2018/01/12, sjc Add for charging */
config OPLUS_CALL_MODE_SUPPORT
bool "OPLUS call mode support"
help
Say Y to enable support for the oplus call mode.
config OPLUS_SHIP_MODE_SUPPORT
bool "OPLUS ship mode support"
default n
help
Say Y to include support
config OPLUS_SHORT_HW_CHECK
bool "OPLUS batt HW SHORT"
default n
help
Say Y to include support
config OPLUS_SMART_CHARGER_SUPPORT
bool "OPLUS Smart Charger support"
default n
help
Say Y to include support
config OPLUS_DUAL_CHARGER_SUPPORT
bool "OPLUS Dual Charger support"
default n
help
Say Y to include support
config OPLUS_SHORT_IC_CHECK
bool "OPLUS batt short "
help
Say Y here to declare charging system is on MTK
config OPLUS_FAST2NORMAL_CHG
bool "OPLUS FAST2NORMAL CHG STATUS"
help
Say Y to include support
config OPLUS_CHARGER_MT6370_TYPEC
bool "OPLUS CHARGER MT6370 TYPEC"
help
Say Y to include support
#endif
config OPLUS_DUAL_BQ_CHARGER
bool "OPLUS DOUBLE BQ CHG CONG"
default n
help
Say Y to include support