zephyr/drivers/gpio/Kconfig.mcux_igpio
Maureen Helm 5dc584975b drivers: gpio: Select HAS_DTS_GPIO in various drivers
Selects HAS_DTS_GPIO in various gpio drivers that already support dts,
similar to how we select HAS_DTS_SPI in spi drivers and HAS_DTS_I2C in
i2c drivers.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2018-09-28 11:44:03 -05:00

43 lines
639 B
Plaintext

# Kconfig.mcux - MCUX IGPIO configuration options
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_MCUX_IGPIO
bool "MCUX IGPIO driver"
depends on GPIO && HAS_MCUX_IGPIO
select HAS_DTS_GPIO
help
Enable the MCUX IGPIO driver.
if GPIO_MCUX_IGPIO
config GPIO_MCUX_IGPIO_1
bool "Port 1"
help
Enable Port 1.
config GPIO_MCUX_IGPIO_2
bool "Port 2"
help
Enable Port 2.
config GPIO_MCUX_IGPIO_3
bool "Port 3"
help
Enable Port 3.
config GPIO_MCUX_IGPIO_4
bool "Port 4"
help
Enable Port 4.
config GPIO_MCUX_IGPIO_5
bool "Port 5"
help
Enable Port 5.
endif # GPIO_MCUX_IGPIO