xref: /linux/drivers/pinctrl/sophgo/Kconfig (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
1a29d8e93SInochi Amaoto# SPDX-License-Identifier: GPL-2.0-only
2a29d8e93SInochi Amaoto#
3a29d8e93SInochi Amaoto# Sophgo SoC PINCTRL drivers
4a29d8e93SInochi Amaoto#
5a29d8e93SInochi Amaoto
696406fa9SInochi Amaotoconfig PINCTRL_SOPHGO_COMMON
796406fa9SInochi Amaoto	tristate
8a29d8e93SInochi Amaoto	select GENERIC_PINCTRL_GROUPS
9a29d8e93SInochi Amaoto	select GENERIC_PINMUX_FUNCTIONS
10a29d8e93SInochi Amaoto	select GENERIC_PINCONF
11a29d8e93SInochi Amaoto
1296406fa9SInochi Amaotoconfig PINCTRL_SOPHGO_CV18XX_OPS
1396406fa9SInochi Amaoto	bool
1496406fa9SInochi Amaoto
15a29d8e93SInochi Amaotoconfig PINCTRL_SOPHGO_CV1800B
16a29d8e93SInochi Amaoto	tristate "Sophgo CV1800B SoC Pinctrl driver"
17a29d8e93SInochi Amaoto	depends on ARCH_SOPHGO || COMPILE_TEST
18a29d8e93SInochi Amaoto	depends on OF
1996406fa9SInochi Amaoto	select PINCTRL_SOPHGO_COMMON
2096406fa9SInochi Amaoto	select PINCTRL_SOPHGO_CV18XX_OPS
21a29d8e93SInochi Amaoto	help
22a29d8e93SInochi Amaoto	  Say Y to select the pinctrl driver for CV1800B SoC.
23a29d8e93SInochi Amaoto	  This pin controller allows selecting the mux function for
24a29d8e93SInochi Amaoto	  each pin. This driver can also be built as a module called
25a29d8e93SInochi Amaoto	  pinctrl-cv1800b.
26d359de4cSInochi Amaoto
27d359de4cSInochi Amaotoconfig PINCTRL_SOPHGO_CV1812H
28d359de4cSInochi Amaoto	tristate "Sophgo CV1812H SoC Pinctrl driver"
29d359de4cSInochi Amaoto	depends on ARCH_SOPHGO || COMPILE_TEST
30d359de4cSInochi Amaoto	depends on OF
3196406fa9SInochi Amaoto	select PINCTRL_SOPHGO_COMMON
3296406fa9SInochi Amaoto	select PINCTRL_SOPHGO_CV18XX_OPS
33d359de4cSInochi Amaoto	help
34d359de4cSInochi Amaoto	  Say Y to select the pinctrl driver for CV1812H SoC.
35d359de4cSInochi Amaoto	  This pin controller allows selecting the mux function for
36d359de4cSInochi Amaoto	  each pin. This driver can also be built as a module called
37d359de4cSInochi Amaoto	  pinctrl-cv1812h.
385e91a198SInochi Amaoto
395e91a198SInochi Amaotoconfig PINCTRL_SOPHGO_SG2000
405e91a198SInochi Amaoto	tristate "Sophgo SG2000 SoC Pinctrl driver"
415e91a198SInochi Amaoto	depends on ARCH_SOPHGO || COMPILE_TEST
425e91a198SInochi Amaoto	depends on OF
4396406fa9SInochi Amaoto	select PINCTRL_SOPHGO_COMMON
4496406fa9SInochi Amaoto	select PINCTRL_SOPHGO_CV18XX_OPS
455e91a198SInochi Amaoto	help
465e91a198SInochi Amaoto	  Say Y to select the pinctrl driver for SG2000 SoC.
475e91a198SInochi Amaoto	  This pin controller allows selecting the mux function for
485e91a198SInochi Amaoto	  each pin. This driver can also be built as a module called
495e91a198SInochi Amaoto	  pinctrl-sg2000.
50e7a4141fSInochi Amaoto
51e7a4141fSInochi Amaotoconfig PINCTRL_SOPHGO_SG2002
5222c91825SThomas Bonnefille	tristate "Sophgo SG2002 SoC Pinctrl driver"
53e7a4141fSInochi Amaoto	depends on ARCH_SOPHGO || COMPILE_TEST
54e7a4141fSInochi Amaoto	depends on OF
5596406fa9SInochi Amaoto	select PINCTRL_SOPHGO_COMMON
5696406fa9SInochi Amaoto	select PINCTRL_SOPHGO_CV18XX_OPS
57e7a4141fSInochi Amaoto	help
58e7a4141fSInochi Amaoto	  Say Y to select the pinctrl driver for SG2002 SoC.
59e7a4141fSInochi Amaoto	  This pin controller allows selecting the mux function for
60e7a4141fSInochi Amaoto	  each pin. This driver can also be built as a module called
61e7a4141fSInochi Amaoto	  pinctrl-sg2002.
621e67465dSInochi Amaoto
631e67465dSInochi Amaotoconfig PINCTRL_SOPHGO_SG2042_OPS
641e67465dSInochi Amaoto	bool
651e67465dSInochi Amaoto
661e67465dSInochi Amaotoconfig PINCTRL_SOPHGO_SG2042
671e67465dSInochi Amaoto	tristate "Sophgo SG2042 SoC Pinctrl driver"
681e67465dSInochi Amaoto	depends on ARCH_SOPHGO || COMPILE_TEST
691e67465dSInochi Amaoto	depends on OF
701e67465dSInochi Amaoto	select PINCTRL_SOPHGO_COMMON
711e67465dSInochi Amaoto	select PINCTRL_SOPHGO_SG2042_OPS
721e67465dSInochi Amaoto	help
731e67465dSInochi Amaoto	  Say Y to select the pinctrl driver for SG2042 SoC.
741e67465dSInochi Amaoto	  This pin controller allows selecting the mux function for
751e67465dSInochi Amaoto	  each pin. This driver can also be built as a module called
761e67465dSInochi Amaoto	  pinctrl-sg2042.
77*614a54cbSInochi Amaoto
78*614a54cbSInochi Amaotoconfig PINCTRL_SOPHGO_SG2044
79*614a54cbSInochi Amaoto	tristate "Sophgo SG2044 SoC Pinctrl driver"
80*614a54cbSInochi Amaoto	depends on ARCH_SOPHGO || COMPILE_TEST
81*614a54cbSInochi Amaoto	depends on OF
82*614a54cbSInochi Amaoto	select PINCTRL_SOPHGO_COMMON
83*614a54cbSInochi Amaoto	select PINCTRL_SOPHGO_SG2042_OPS
84*614a54cbSInochi Amaoto	help
85*614a54cbSInochi Amaoto	  Say Y to select the pinctrl driver for SG2044 SoC.
86*614a54cbSInochi Amaoto	  This pin controller allows selecting the mux function for
87*614a54cbSInochi Amaoto	  each pin. This driver can also be built as a module called
88*614a54cbSInochi Amaoto	  pinctrl-sg2044.
89