drivers: pinctrl: initial skeleton
Initial skeleton for pinctrl drivers. This patch includes common infrastructure and API definitions for pinctrl drivers. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
fefb0a00e4
commit
4040df096f
7 changed files with 427 additions and 0 deletions
24
drivers/pinctrl/Kconfig
Normal file
24
drivers/pinctrl/Kconfig
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menuconfig PINCTRL
|
||||
bool "Enable pin controller drivers"
|
||||
|
||||
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.
|
||||
|
||||
endif # PINCTRL
|
Loading…
Add table
Add a link
Reference in a new issue