zephyr/drivers/gpio/Kconfig.altera_nios2
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

29 lines
725 B
Text

# Altera Nios-II GPIO configuration options
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_ALTERA_NIOS2
bool "Altera Nios-II PIO Controllers"
depends on HAS_ALTERA_HAL
help
Enable config options to support the PIO controllers
on Altera Nios-II family processors.
Says n if not sure.
if GPIO_ALTERA_NIOS2
config GPIO_ALTERA_NIOS2_OUTPUT
bool "Enable driver for Altera Nios-II PIO Output Port"
help
Build the driver to utilize PIO controller Output Port.
config GPIO_ALTERA_NIOS2_OUTPUT_DEV_NAME
string "Device name for Output Port"
depends on GPIO_ALTERA_NIOS2_OUTPUT
default "PIO_OUTPUT"
help
Device name for Output Port.
endif # GPIO_ALTERA_NIOS2