zephyr/drivers/pinmux/Kconfig
Ulf Magnusson 8cf8db3a73 Kconfig: Use a short, consistent style for prompts
Consistently use

    config FOO
            bool/int/hex/string "Prompt text"

instead of

    config FOO
            bool/int/hex/string
            prompt "Prompt text"

(...and a bunch of other variations that e.g. swapped the order of the
type and the 'prompt', or put other properties between them).

The shorthand is fully equivalent to using 'prompt'. It saves lines and
avoids tricking people into thinking there is some semantic difference.

Most of the grunt work was done by a modified version of
https://unix.stackexchange.com/questions/26284/
how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
of the rarer variations had to be converted manually.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-08-15 04:10:10 -07:00

62 lines
1.4 KiB
Text

# Kconfig - Pinmux configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
#
# PinMux options
#
menuconfig PINMUX
bool "Enable board pinmux driver"
if PINMUX
source "drivers/pinmux/dev/Kconfig"
config PINMUX_NAME
string "Pinmux driver name"
depends on PINMUX
default "PINMUX"
help
The name of the pinmux driver.
config PINMUX_INIT_PRIORITY
int "Init priority"
default 45
depends on PINMUX
help
Pinmux driver initialization priority.
Pinmux driver almost certainly should be initialized before the
rest of hardware devices (which may need specific pins already
configured for them), and usually after generic GPIO drivers.
Thus, its priority should be between KERNEL_INIT_PRIORITY_DEFAULT
and KERNEL_INIT_PRIORITY_DEVICE. There are exceptions to this
rule for particular boards. Don't change this value unless you
know what you are doing.
config PINMUX_QMSI
bool "Enable QMSI pinmux dev driver"
depends on PINMUX && QMSI
help
Enables the pinmux dev driver for QMSI supported boards.
source "drivers/pinmux/Kconfig.mcux"
source "drivers/pinmux/Kconfig.mcux_lpc"
source "drivers/pinmux/Kconfig.stm32"
source "drivers/pinmux/Kconfig.beetle"
source "drivers/pinmux/Kconfig.fe310"
source "drivers/pinmux/Kconfig.cc2650"
source "drivers/pinmux/Kconfig.esp32"
source "drivers/pinmux/Kconfig.sam0"
endif # PINMUX