Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
38 lines
1005 B
Plaintext
38 lines
1005 B
Plaintext
menuconfig MEDIATEK_BATTERY_SOLUTION
|
|
bool "MediaTek Propritary Configuration for Battery"
|
|
help
|
|
Check this to enable MediaTek Battery configuration.
|
|
|
|
config MTK_SMART_BATTERY
|
|
bool "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.
|
|
|
|
config MTK_GAUGE_VERSION
|
|
int "MediaTek Fuel Gauge version"
|
|
default 20
|
|
help
|
|
Select MTK Gauge Master version
|
|
30: Gauge Master 3.0
|
|
|
|
config MTK_DISABLE_GAUGE
|
|
bool "disable Gauge Master 3.0"
|
|
default n
|
|
help
|
|
Set Yes to disable Gauge Master 3.0
|
|
under new MTK Charger Framework
|
|
Set No to enable Gauge Master 3.0
|
|
under new MTK Charger Framework
|
|
|
|
config MTK_ADDITIONAL_BATTERY_TABLE
|
|
bool "Enable the fifth battery table"
|
|
default y
|
|
help
|
|
Set Yes to enable the fifth battery table
|
|
Table number is five.
|
|
Set No to disable the fifth battery table
|
|
Table number is four.
|