summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.battery
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r--zephyr/Kconfig.battery10
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery
index e474afd5ff..b972ed40e0 100644
--- a/zephyr/Kconfig.battery
+++ b/zephyr/Kconfig.battery
@@ -248,4 +248,14 @@ config PLATFORM_EC_BATTERY_REVIVE_DISCONNECT
this state by force-applying a charge current. Once defined,
a battery_get_disconnect_state() function has to be provided.
+config PLATFORM_EC_BATT_FULL_CHIPSET_OFF_INPUT_LIMIT_MV
+ int "Voltage limit in mV when battery is full and AP is off"
+ depends on PLATFORM_EC_USB_PE_SM && PLATFORM_EC_CHARGE_MANAGER
+ default -1
+ help
+ If set to a non-negative value, input voltage will be reduced to given
+ value when chipset is in S5/G3 state and battery is fully charged.
+ This condition is checked on chipset shutdown and startup, AC change
+ and battery SOC change.
+
endif # PLATFORM_EC_BATTERY