zephyr/drivers/gpio/Kconfig.mcux_igpio
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

42 lines
618 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
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