zephyr/drivers/gpio/Kconfig.mcux
Paul Sokolovsky 203dec3b69 gpio: mcux: Revert to older GPIO device names as were used for Kinetis.
These are more consistent with naming used by other ports (uppercase,
short), and some existing software relies on them to be exactly those.
This change is a follow up to the discussion on the Zephyr mailing
list, calling to establish consistent naming conventions for Zephyr
devices, and is a small step in that direction.

Change-Id: I013b0505b579c6337aeb6fbef2423216ca6cf046
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-02-28 11:18:32 +00:00

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