| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- menuconfig MEDIATEK_CHARGING_SOLUTION
- bool "MediaTek Propritary Configuration for Charging"
- help
- Check this to enable MediaTek charging configuration.
- config MTK_SMART_BATTERY
- tristate "MediaTek Smart Battery Driver"
- help
- Check this to enable MediaTek smart battery driver.
- The driver supports charging control flow.
- It maintais both charger and battery status.
- It also includes Mediatek gas gauge.
- default n
- config POWER_EXT
- tristate "MediaTek Power Ext"
- help
- Check this if the device is not powered by battery.
- For example, if the device is powered by AC adapter.
- Select No if the device needs info about
- battery voltage, temperature, etc.
- default n
- config MTK_AUTO_POWER_ON_WITH_CHARGER
- bool "auto power on when charger in"
- help
- Check this to support auto power on with charger.
- In kernel it records necessary info in RTC to
- support the boot behavior.
- default n
- config MTK_SWCHR_SUPPORT
- tristate "MediaTek switch charger"
- help
- This is to enable switching charger control flow.
- Set to yes if switching charger is used.
- Set to no if pmic pulse charger is used.
- default n
- config MTK_BQ24160_SUPPORT
- bool "MTK_BQ24160_SUPPORT"
- help
- This is to enable MediaTek supports to BQ24160.
- It depends on config MTK_SMART_BATTERY
- and config MTK_SWCHR_SUPPORT
- Set to Yes if BQ24160 is used.
- default n
- config MTK_BQ24196_SUPPORT
- bool "MediaTek Battery driver for TI BQ24196"
- help
- BQ24196 charger IC support
- This is to enable MediaTek supports to BQ24196.
- It depends on config MTK_SMART_BATTERY
- and config MTK_SWCHR_SUPPORT
- Set to Yes if BQ24196 is used.
- default n
- config MTK_BQ24296_SUPPORT
- bool "MTK_BQ24296_SUPPORT"
- help
- This is to enable MediaTek supports to BQ24296.
- It depends on config MTK_SMART_BATTERY
- and config MTK_SWCHR_SUPPORT
- Set to Yes if BQ24296 is used.
- default n
- config MTK_BQ24297_SUPPORT
- bool "MTK_BQ24297_SUPPORT"
- help
- This is to enable MediaTek supports to BQ24297.
- It depends on config MTK_SMART_BATTERY
- and config MTK_SWCHR_SUPPORT
- Set to Yes if BQ24297 is used.
- default n
- config MTK_BQ24261_SUPPORT
- bool "MTK_BQ24261_SUPPORT"
- help
- This is to enable MediaTek supports to BQ24261.
- It depends on config MTK_SMART_BATTERY
- and config MTK_SWCHR_SUPPORT
- Set to Yes if BQ24261 is used.
- default n
- config MTK_BQ25890_SUPPORT
- bool "MTK_BQ25890_SUPPORT"
- help
- This is to enable MediaTek supports to BQ25890.
- It depends on config MTK_SMART_BATTERY
- and config MTK_SWCHR_SUPPORT
- Set to Yes if BQ25890 is used.
- default n
- config MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION
- bool "MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION"
- help
- This to disable power on off condition check for device.
- The check includes battery voltage and
- battery temperature.
- Enable this config if the device has no battery.
- default n
- config MTK_KERNEL_POWER_OFF_CHARGING
- bool "MTK_KERNEL_POWER_OFF_CHARGING"
- help
- yes : support KPOC feature, power off charging would running by
- kernel and charging animation by kpoc service. no: not support KPOC
- feature.
- device won't enter charging mode if config is no.
- default n
- config MTK_BATTERY_PROTECT
- bool "MTK_BATTERY_PROTECT"
- help
- Mediatek PMIC supports low battery protect.
- This config enables notification of low battery event.
- Enable this feature to support throttle of CPU power
- to perform battery protect.
- default n
- config MTK_BATTERY_THROTTLING
- bool "MTK_BATTERY_THROTTLING"
- help
- Enable this feature to support active throttle
- mechanism of CPU to save battery life.
- The feature throttles CPU or GPU actively
- to avoid device power drop due to instant
- peak current.
- default n
- config MTK_ENABLE_AGING_ALGORITHM
- bool "Enable MediaTek Battery Aging Algorithm"
- help
- Enable this feature to enable aging check of battery
- This feature helps to calibrate fuel gauge
- by battery voltage.
- It also helpful to predict aging of battery.
- default n
- config MTK_BATTERY_LIFETIME_DATA_SUPPORT
- bool "Enable Battery LifeTime Data Logging"
- help
- This config is to log battery related info.
- Set yes and it would keep max/min voltage,
- max/min charging current, max/min battery
- temperature, etc.
- default n
- config SOC_BY_HW_FG
- bool "Use MediaTek H/W Fuel Gauge"
- default n
- help
- Mediatek fuel gauge algorithm option.
- Enable this config to use MediaTek
- hardware fuel gauge function.
- It depends on the PMIC capability.
- config SOC_BY_AUXADC
- bool "Only use AUXADC for Fuel Gauge"
- default n
- help
- Mediatek fuel gauge algorithm option.
- Enable this config to use MediaTek
- voltage-based fuel gauge function.
- It depends on the PMIC capability.
- config SOC_BY_SW_FG
- bool "Use MediaTek S/W Fuel Gauge"
- default n
- help
- Mediatek fuel gauge algorithm option.
- Enable this config to use MediaTek
- software fuel gauge function.
- It depends on the PMIC capability.
- config SWCHR_POWER_PATH
- bool "External charger IC supports powerpath"
- default n
- help
- Set Yes if the external charger IC
- supports power path function.
- This affects setting of auxadc channels
- used to representing voltage of system
- or battery.
- config CUSTOM_BATTERY_CYCLE_AGING_DATA
- bool "Custom battery aging data is provided"
- default n
- help
- Set Yes if the battery aging table is provided.
- It includes information about battery
- capacity aging factor.
- It is used for gas gauge calibration.
- config MTK_JEITA_STANDARD_SUPPORT
- bool "JEITA standard support"
- default n
- help
- Set Yes if JEITA charging control is needed.
- MediaTek charging control flow supports
- JEITA standard and could provide more
- safety for charging function.
- config BAT_LOW_TEMP_PROTECT_ENABLE
- bool "Disable charging when low temperature"
- default n
- help
- Set Yes if charging needs to be disabled
- for low temperature.
- The temperature threshold is adjustable in battery
- driver.
- config STOP_CHARGING_IN_TAKLING
- bool "Hold charging in talking mode"
- default n
- help
- Set Yes if charging needs to be disabled
- during talking mode.
- This is to provide better user experience
- and safety option.
- config CONFIG_DIS_CHECK_BATTERY
- bool "No shutdown if battery is not detected"
- default n
- help
- Enable this config if device could not
- be active without battery.
- Disable this config if device battery could be
- removed without affecting function.
- config CONFIG_USB_IF
- bool "USB IF support"
- default n
- help
- Set Yes to config if USB IF certification
- is needed.
- It limits charging current limit for USB.
- Set No to config if USB IF is no need.
- config HIGH_BATTERY_VOLTAGE_SUPPORT
- bool "Support battery above 4.3V"
- default n
- help
- Set Yes to config if 4.35V battery is
- to be supported.
- Set No to config if 4.2V battery is
- used.
- config MTK_PUMP_EXPRESS_PLUS_SUPPORT
- bool "MediaTek PUMP EXPRESS PLUS"
- default n
- help
- fast charging, by using switch charger to achive better charging ability
- enable this config to support high voltage charging
- available vbus input includes 7V/9V/12V
- the feature applies to standard charger with pump express plus support
|