mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-16 14:46:04 +00:00
Most of these are from source'ing a file within an 'if PINMUX', and then adding another 'depends on PINMUX' within it. 'if FOO' is just shorthand for adding 'depends on FOO' to each item within the 'if'. There are no "conditional includes" in Kconfig, so 'if FOO' has no special meaning around a 'source'. Conditional includes wouldn't be possible, because an 'if' condition could include (directly or indirectly) forward references to symbols not defined yet. Tip: When adding a symbol, check its dependencies in the menuconfig ('ninja menuconfig', then / to jump to the symbol). The menuconfig also shows how the file with the symbol got included, so if you see duplicated dependencies, it's easy to hunt down where they come from. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
# 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
|
|
|
|
config PINMUX_NAME
|
|
string "Pinmux driver name"
|
|
default "PINMUX"
|
|
help
|
|
The name of the pinmux driver.
|
|
|
|
config PINMUX_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 45
|
|
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 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.sifive"
|
|
|
|
source "drivers/pinmux/Kconfig.cc2650"
|
|
|
|
source "drivers/pinmux/Kconfig.esp32"
|
|
|
|
source "drivers/pinmux/Kconfig.sam0"
|
|
|
|
source "drivers/pinmux/Kconfig.intel_s1000"
|
|
|
|
source "drivers/pinmux/Kconfig.rv32m1"
|
|
|
|
endif # PINMUX
|