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

16 lines
514 B
Plaintext

#
# Copyright (c) 2017 Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
config GPIO_MMIO32
bool
help
This is a driver for accessing a simple, fixed purpose, 32-bit
memory-mapped i/o register using the same APIs as GPIO drivers. This
is useful when an SoC or board has registers that aren't part of a
GPIO IP block and these registers are used to control things that
Zephyr normally expects to be specified using a GPIO pin, e.g. for
driving an LED, or chip-select line for an SPI device.