xref: /linux/drivers/pinctrl/sophgo/Kconfig (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Sophgo SoC PINCTRL drivers
4#
5
6config PINCTRL_SOPHGO_CV18XX
7	bool
8	select GENERIC_PINCTRL_GROUPS
9	select GENERIC_PINMUX_FUNCTIONS
10	select GENERIC_PINCONF
11
12config PINCTRL_SOPHGO_CV1800B
13	tristate "Sophgo CV1800B SoC Pinctrl driver"
14	depends on ARCH_SOPHGO || COMPILE_TEST
15	depends on OF
16	select PINCTRL_SOPHGO_CV18XX
17	help
18	  Say Y to select the pinctrl driver for CV1800B SoC.
19	  This pin controller allows selecting the mux function for
20	  each pin. This driver can also be built as a module called
21	  pinctrl-cv1800b.
22
23config PINCTRL_SOPHGO_CV1812H
24	tristate "Sophgo CV1812H SoC Pinctrl driver"
25	depends on ARCH_SOPHGO || COMPILE_TEST
26	depends on OF
27	select PINCTRL_SOPHGO_CV18XX
28	help
29	  Say Y to select the pinctrl driver for CV1812H SoC.
30	  This pin controller allows selecting the mux function for
31	  each pin. This driver can also be built as a module called
32	  pinctrl-cv1812h.
33
34config PINCTRL_SOPHGO_SG2000
35	tristate "Sophgo SG2000 SoC Pinctrl driver"
36	depends on ARCH_SOPHGO || COMPILE_TEST
37	depends on OF
38	select PINCTRL_SOPHGO_CV18XX
39	help
40	  Say Y to select the pinctrl driver for SG2000 SoC.
41	  This pin controller allows selecting the mux function for
42	  each pin. This driver can also be built as a module called
43	  pinctrl-sg2000.
44
45config PINCTRL_SOPHGO_SG2002
46	tristate "Sophgo SG2000 SoC Pinctrl driver"
47	depends on ARCH_SOPHGO || COMPILE_TEST
48	depends on OF
49	select PINCTRL_SOPHGO_CV18XX
50	help
51	  Say Y to select the pinctrl driver for SG2002 SoC.
52	  This pin controller allows selecting the mux function for
53	  each pin. This driver can also be built as a module called
54	  pinctrl-sg2002.
55