mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
Add support for the pin controller on the UltraRISC DP1000 SoC. The controller provides mux selection for pins in ports A, B, C, D, and LPC. Ports A-D default to GPIO and support peripheral muxing. LPC pins can be switched to eSPI, but are not available as GPIOs. Basic pin configuration controls such as drive strength, pull-up, and pull-down are also supported. Signed-off-by: Jia Wang <wangjia@ultrarisc.com> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
21 lines
587 B
Plaintext
21 lines
587 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config PINCTRL_ULTRARISC
|
|
tristate
|
|
depends on OF
|
|
depends on ARCH_ULTRARISC || COMPILE_TEST
|
|
select GENERIC_PINCTRL
|
|
select PINMUX
|
|
|
|
config PINCTRL_ULTRARISC_DP1000
|
|
tristate "UltraRISC DP1000 SoC Pinctrl driver"
|
|
select PINCTRL_ULTRARISC
|
|
depends on OF && HAS_IOMEM
|
|
depends on ARCH_ULTRARISC || COMPILE_TEST
|
|
default ARCH_ULTRARISC
|
|
help
|
|
Say Y to select the pinctrl driver for UltraRISC DP1000 SoC.
|
|
This pin controller allows selecting the mux function for
|
|
each pin. This driver can also be built as a module called
|
|
pinctrl-dp1000.
|