zephyr/drivers/gpio/Kconfig.test
Kumar Gala 3cc8183c52 drivers: gpio: Cleanup Kconfig.test
Use DT_HAS_VND_GPIO_ENABLED for GPIO_TEST similar to what we
do for SPI_TEST, I2C_TEST, etc.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-09-01 10:25:57 +02:00

10 lines
327 B
Plaintext

# Copyright (c) 2021, Commonwealth Scientific and Industrial Research
# Organisation (CSIRO) ABN 41 687 119 230.
# SPDX-License-Identifier: Apache-2.0
# Hidden option for turning on the dummy driver for vnd,gpio devices
# used in testing.
config GPIO_TEST
def_bool DT_HAS_VND_GPIO_ENABLED
depends on DT_HAS_VND_GPIO_ENABLED