2023-04-01 02:43:51 +08:00
|
|
|
# Copyright 2023 Cirrus Logic, Inc.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig CHARGER
|
|
|
|
bool "Battery charger drivers"
|
|
|
|
help
|
|
|
|
Enable battery charger driver configuration.
|
|
|
|
|
|
|
|
if CHARGER
|
|
|
|
|
|
|
|
module = CHARGER
|
|
|
|
module-str = charger
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
|
|
|
config CHARGER_INIT_PRIORITY
|
|
|
|
int "Battery charger init priority"
|
|
|
|
default 90
|
|
|
|
help
|
|
|
|
Battery charger initialization priority.
|
|
|
|
|
2024-01-19 05:56:38 +08:00
|
|
|
config CHARGER_HAS_DISCHARGE_CURRENT_NOTIFICATIONS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This symbol is y if the charger supports discharge
|
|
|
|
current notifications.
|
|
|
|
|
|
|
|
config CHARGER_HAS_SYSTEM_VOLTAGE_NOTIFICATIONS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This symbol is y if the charger supports system
|
|
|
|
voltage notifications.
|
|
|
|
|
|
|
|
menu "Discharge current notifications"
|
|
|
|
|
|
|
|
config CHARGER_DISCHARGE_CURRENT_NOTIFICATIONS
|
|
|
|
bool "Support discharge current notifications"
|
|
|
|
depends on CHARGER_HAS_DISCHARGE_CURRENT_NOTIFICATIONS
|
|
|
|
help
|
|
|
|
Enables support for discharge current notifications
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "System voltage notification"
|
|
|
|
|
|
|
|
config CHARGER_SYSTEM_VOLTAGE_NOTIFICATIONS
|
|
|
|
bool "Support system voltage notifications"
|
|
|
|
depends on CHARGER_HAS_SYSTEM_VOLTAGE_NOTIFICATIONS
|
|
|
|
help
|
|
|
|
Enables support for system voltage notifications
|
|
|
|
endmenu
|
|
|
|
|
2023-04-01 02:43:51 +08:00
|
|
|
source "drivers/charger/Kconfig.sbs_charger"
|
2023-05-10 22:26:33 +08:00
|
|
|
source "drivers/charger/Kconfig.bq24190"
|
2023-08-07 06:33:37 +08:00
|
|
|
source "drivers/charger/Kconfig.bq25180"
|
2023-11-08 22:45:30 +08:00
|
|
|
source "drivers/charger/Kconfig.max20335"
|
2023-04-01 02:43:51 +08:00
|
|
|
|
|
|
|
endif # CHARGER
|