zephyr/drivers/gpio/Kconfig.fxl6408
Caspar Friedrich 24622f36c8 drivers: gpio: fxl6408: Fix Kconfig dependency for log level config
This makes Kconfig logging options for this driver depending on whether
the driver is enabled or not.

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
2023-06-06 06:51:48 -04:00

25 lines
501 B
Plaintext

# Copyright (c) 2021 Abel Sensors
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_FXL6408
bool "FXL6408 I2C-based GPIO chip"
default y
depends on DT_HAS_FCS_FXL6408_ENABLED
depends on I2C
help
Enable driver for FXL6408 I2C-based GPIO chip.
if GPIO_FXL6408
config GPIO_FXL6408_INIT_PRIORITY
int "Init priority"
default 80
help
Device driver initialization priority.
module = FXL6408
module-str = fxl6408
source "subsys/logging/Kconfig.template.log_config"
endif # GPIO_FXL6408