zephyr/drivers/gpio/Kconfig.mcux_lpc
Kumar Gala 5a8a06661d drivers: gpio: cleanup select HAS_DTS_GPIO
All GPIO controller drivers support DTS so we can select HAS_DTS_GPIO
at the GPIO driver subsystem level rather than for each specific driver.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-04 09:27:12 -05:00

37 lines
690 B
Plaintext

# MCUX LPC GPIO configuration options
# Copyright (c) 2017, NXP
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_MCUX_LPC
bool "MCUX LPC GPIO driver"
depends on HAS_MCUX
help
Enable the MCUX LPC pinmux driver.
if GPIO_MCUX_LPC
config GPIO_MCUX_LPC_PORT0
bool "Port 0"
depends on PINMUX_MCUX_LPC_PORT0
help
Enable Port 0.
config GPIO_MCUX_LPC_PORT0_NAME
string "Port 0 driver name"
depends on GPIO_MCUX_LPC_PORT0
default "GPIO_0"
config GPIO_MCUX_LPC_PORT1
bool "Port 1"
depends on PINMUX_MCUX_LPC_PORT1
help
Enable Port 1.
config GPIO_MCUX_LPC_PORT1_NAME
string "Port 1 driver name"
depends on GPIO_MCUX_LPC_PORT1
default "GPIO_1"
endif # GPIO_MCUX_LPC