mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 04:02:31 +00:00
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>
37 lines
690 B
Plaintext
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
|