1# Copyright 2023 Cirrus Logic, Inc. 2# 3# SPDX-License-Identifier: Apache-2.0 4 5menuconfig CHARGER 6 bool "Battery charger drivers" 7 help 8 Enable battery charger driver configuration. 9 10if CHARGER 11 12module = CHARGER 13module-str = charger 14source "subsys/logging/Kconfig.template.log_config" 15 16config CHARGER_INIT_PRIORITY 17 int "Battery charger init priority" 18 default 90 19 help 20 Battery charger initialization priority. 21 22config CHARGER_HAS_DISCHARGE_CURRENT_NOTIFICATIONS 23 bool 24 help 25 This symbol is y if the charger supports discharge 26 current notifications. 27 28config CHARGER_HAS_SYSTEM_VOLTAGE_NOTIFICATIONS 29 bool 30 help 31 This symbol is y if the charger supports system 32 voltage notifications. 33 34menu "Discharge current notifications" 35 36config CHARGER_DISCHARGE_CURRENT_NOTIFICATIONS 37 bool "Support discharge current notifications" 38 depends on CHARGER_HAS_DISCHARGE_CURRENT_NOTIFICATIONS 39 help 40 Enables support for discharge current notifications 41 42endmenu 43 44menu "System voltage notification" 45 46config CHARGER_SYSTEM_VOLTAGE_NOTIFICATIONS 47 bool "Support system voltage notifications" 48 depends on CHARGER_HAS_SYSTEM_VOLTAGE_NOTIFICATIONS 49 help 50 Enables support for system voltage notifications 51endmenu 52 53source "drivers/charger/Kconfig.sbs_charger" 54source "drivers/charger/Kconfig.bq24190" 55source "drivers/charger/Kconfig.bq25180" 56source "drivers/charger/Kconfig.max20335" 57 58endif # CHARGER 59