zephyr/drivers/bbram/Kconfig
Henrik Brix Andersen c41dd36de2 drivers: kconfig: unify menuconfig title strings
Unify the drivers/*/Kconfig menuconfig title strings to the format
"<class> [(acronym)] [bus] drivers".

Including both the full name of the driver class and an acronym makes
menuconfig more user friendly as some of the acronyms are less well-known
than others. It also improves Kconfig search, both via menuconfig and via
the generated Kconfig documentation.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-03-28 15:06:06 +02:00

46 lines
1 KiB
Plaintext

# Copyright (c) 2021 Google Inc
# SPDX-License-Identifier: Apache-2.0
menuconfig BBRAM
bool "Battery-backed RAM (BBRAM) drivers"
help
Enable BBRAM (battery-backed RAM) driver configuration.
if BBRAM
module = BBRAM
module-str = bbram
source "subsys/logging/Kconfig.template.log_config"
config BBRAM_SHELL
bool "Battery-backed RAM shell"
depends on SHELL
help
Enable the BBRAM shell with read and write commands.
config BBRAM_INIT_PRIORITY
int "Init priority"
# In STM32, BBRAM is a part of RTC. In this case init priority must be
# lower than COUNTER_INIT_PRIORITY.
default 65 if BBRAM_STM32
# MCP7940N is an I2C device, therefore the init priority must be
# greater than I2C_INIT_PRIORITY.
default 55 if BBRAM_MICROCHIP_MCP7940N
default 10
help
BBRAM driver initialization priority
source "drivers/bbram/Kconfig.npcx"
source "drivers/bbram/Kconfig.it8xxx2"
source "drivers/bbram/Kconfig.bbram_emul"
source "drivers/bbram/Kconfig.microchip"
source "drivers/bbram/Kconfig.xec"
source "drivers/bbram/Kconfig.stm32"
endif # BBRAM