mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
For the pinctrl IP of SpacemiT's K3 SoC, it has different register offset comparing with previous SoC generation, so introduce a function to do the pin to offset mapping. Also add all the pinctrl data. Signed-off-by: Yixun Lan <dlan@gentoo.org> Signed-off-by: Linus Walleij <linusw@kernel.org>
19 lines
508 B
Plaintext
19 lines
508 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Sophgo SoC PINCTRL drivers
|
|
#
|
|
|
|
config PINCTRL_SPACEMIT_K1
|
|
bool "SpacemiT K1/K3 SoC Pinctrl driver"
|
|
depends on ARCH_SPACEMIT || COMPILE_TEST
|
|
depends on OF
|
|
default ARCH_SPACEMIT
|
|
select GENERIC_PINCTRL_GROUPS
|
|
select GENERIC_PINMUX_FUNCTIONS
|
|
select GENERIC_PINCONF
|
|
help
|
|
Say Y to select the pinctrl driver for K1/K3 SoC.
|
|
This pin controller allows selecting the mux function for
|
|
each pin. This driver can also be built as a module called
|
|
pinctrl-k1.
|