zephyr/drivers/gpio/Kconfig.mcux

104 lines
1.8 KiB
Plaintext

# Kconfig.mcux - MCUX GPIO configuration options
#
# Copyright (c) 2016 Freescale Semiconductor, Inc.
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_MCUX
bool "MCUX GPIO driver"
depends on GPIO && HAS_MCUX
default n
help
Enable the MCUX pinmux driver.
if GPIO_MCUX
config GPIO_MCUX_PORTA
bool "Port A"
depends on PINMUX_MCUX_PORTA
default n
help
Enable Port A.
config GPIO_MCUX_PORTA_NAME
string "Port A driver name"
depends on GPIO_MCUX_PORTA
default "GPIO_0"
config GPIO_MCUX_PORTA_PRI
int "Port A interrupt priority"
depends on GPIO_MCUX_PORTA
default 2
config GPIO_MCUX_PORTB
bool "Port B"
depends on PINMUX_MCUX_PORTB
default n
help
Enable Port B.
config GPIO_MCUX_PORTB_NAME
string "Port B driver name"
depends on GPIO_MCUX_PORTB
default "GPIO_1"
config GPIO_MCUX_PORTB_PRI
int "Port B interrupt priority"
depends on GPIO_MCUX_PORTB
default 2
config GPIO_MCUX_PORTC
bool "Port C"
depends on PINMUX_MCUX_PORTC
default n
help
Enable Port C.
config GPIO_MCUX_PORTC_NAME
string "Port C driver name"
depends on GPIO_MCUX_PORTC
default "GPIO_2"
config GPIO_MCUX_PORTC_PRI
int "Port C interrupt priority"
depends on GPIO_MCUX_PORTC
default 2
config GPIO_MCUX_PORTD
bool "Port D"
depends on PINMUX_MCUX_PORTD
default n
help
Enable Port D.
config GPIO_MCUX_PORTD_NAME
string "Port D driver name"
depends on GPIO_MCUX_PORTD
default "GPIO_3"
config GPIO_MCUX_PORTD_PRI
int "Port D interrupt priority"
depends on GPIO_MCUX_PORTD
default 2
config GPIO_MCUX_PORTE
bool "Port E"
depends on PINMUX_MCUX_PORTE
default n
help
Enable Port E.
config GPIO_MCUX_PORTE_NAME
string "Port E driver name"
depends on GPIO_MCUX_PORTE
default "GPIO_4"
config GPIO_MCUX_PORTE_PRI
int "Port E interrupt priority"
depends on GPIO_MCUX_PORTE
default 2
endif # GPIO_MCUX