zephyr/drivers/gpio/Kconfig.mcux
Ulf Magnusson f912dfebea drivers: gpio: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Piggyback a missing 'source "drivers/gpio/Kconfig.imx"'. This file
wasn't included anywhere previously.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

49 lines
805 B
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
select HAS_DTS_GPIO
help
Enable the MCUX pinmux driver.
if GPIO_MCUX
config GPIO_MCUX_PORTA
bool "Port A"
depends on PINMUX_MCUX_PORTA
help
Enable Port A.
config GPIO_MCUX_PORTB
bool "Port B"
depends on PINMUX_MCUX_PORTB
help
Enable Port B.
config GPIO_MCUX_PORTC
bool "Port C"
depends on PINMUX_MCUX_PORTC
help
Enable Port C.
config GPIO_MCUX_PORTD
bool "Port D"
depends on PINMUX_MCUX_PORTD
help
Enable Port D.
config GPIO_MCUX_PORTE
bool "Port E"
depends on PINMUX_MCUX_PORTE
help
Enable Port E.
endif # GPIO_MCUX