2021-08-10 17:17:46 +08:00
|
|
|
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig PINCTRL
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "Pin controller drivers"
|
2021-08-10 17:17:46 +08:00
|
|
|
|
|
|
|
if PINCTRL
|
|
|
|
|
|
|
|
config PINCTRL_STORE_REG
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This option must be selected by drivers that require access to the device
|
|
|
|
register address. This can happen, for example, if certain pin control
|
|
|
|
actions are device dependent or require access to device specific
|
|
|
|
registers
|
|
|
|
|
|
|
|
config PINCTRL_NON_STATIC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This option can be selected if the pin control configuration defined by
|
|
|
|
a driver has to be accessed externally. This can happen, for example, when
|
|
|
|
dynamic pin control is enabled or in testing environments.
|
|
|
|
|
2021-09-13 22:30:58 +08:00
|
|
|
config PINCTRL_DYNAMIC
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "Dynamic configuration of pins"
|
2021-09-13 22:30:58 +08:00
|
|
|
select PINCTRL_NON_STATIC
|
|
|
|
help
|
|
|
|
When this option is enabled pin control configuration can be changed at
|
|
|
|
runtime. This can be useful, for example, to change the pins assigned to a
|
|
|
|
peripheral at early boot stages depending on a certain input.
|
|
|
|
|
2022-02-11 20:09:30 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.b91"
|
2021-11-02 04:37:04 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.gd32"
|
2021-08-10 17:22:31 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.nrf"
|
2021-12-03 21:22:01 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.rcar"
|
2021-11-30 06:29:09 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.rpi_pico"
|
2021-09-06 20:33:46 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.stm32"
|
2022-02-22 02:54:05 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.kinetis"
|
2022-01-21 03:51:01 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.xec"
|
2021-12-24 15:01:27 +08:00
|
|
|
source "drivers/pinctrl/Kconfig.mcux"
|
2021-11-02 04:37:04 +08:00
|
|
|
|
2021-08-10 17:17:46 +08:00
|
|
|
endif # PINCTRL
|