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)
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Power Related
|
|
config MTK_PMIC
|
|
bool "MediaTek PMIC driver"
|
|
default n
|
|
---help---
|
|
MediaTek PMIC driver.
|
|
Set y to support this driver.
|
|
Set n and choose other chargers.
|
|
This driver uses MTK_PWRAP.
|
|
|
|
config MTK_SWITCH_INPUT_OUTPUT_CURRENT_SUPPORT
|
|
bool "Mediatek allow to configure input/charging current"
|
|
default n
|
|
---help---
|
|
Mediatek switch charger input output current.
|
|
Set y to support.
|
|
Set n to disable.
|
|
switch charger often supports this feature.
|
|
|
|
config MTK_WIRELESS_CHARGER_SUPPORT
|
|
bool "Mediatek Wireless charger driver"
|
|
default n
|
|
---help---
|
|
yes : support wireless charger feature, it can show the wireless
|
|
charging animation and charging icon when receive wireless charger
|
|
plug-in. no: not support wireless charger feature, stay with
|
|
legancy feature, which cannot sense the exist of the wireles
|
|
charger.
|
|
|
|
config MTK_POWER_EXT_DETECT
|
|
bool "MediaTek Power Ext detect"
|
|
default n
|
|
---help---
|
|
EVB/Phone share load configration.
|
|
Require one GPIO to do detection,
|
|
GPIO high mean EVB, otherwise mean phone platform. |