xref: /linux/drivers/pinctrl/starfive/Kconfig (revision 6e4fa8e9f1eb57c88e3f7feaf540f03c6b23febc)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config PINCTRL_STARFIVE_JH7100
4	tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC"
5	depends on SOC_STARFIVE || COMPILE_TEST
6	depends on OF
7	select GENERIC_PINCTRL_GROUPS
8	select GENERIC_PINMUX_FUNCTIONS
9	select GENERIC_PINCONF
10	select GPIOLIB
11	select GPIOLIB_IRQCHIP
12	default SOC_STARFIVE
13	help
14	  Say yes here to support pin control on the StarFive JH7100 SoC.
15	  This also provides an interface to the GPIO pins not used by other
16	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
17	  and interrupts on input changes.
18
19config PINCTRL_STARFIVE_JH7110
20	bool
21	select GENERIC_PINCTRL_GROUPS
22	select GENERIC_PINMUX_FUNCTIONS
23	select GENERIC_PINCONF
24	select GPIOLIB
25	select GPIOLIB_IRQCHIP
26
27config PINCTRL_STARFIVE_JH7110_SYS
28	tristate "System pinctrl and GPIO driver for the StarFive JH7110 SoC"
29	depends on SOC_STARFIVE  || COMPILE_TEST
30	depends on OF
31	select PINCTRL_STARFIVE_JH7110
32	default SOC_STARFIVE
33	help
34	  Say yes here to support system pin control on the StarFive JH7110 SoC.
35	  This also provides an interface to the GPIO pins not used by other
36	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
37	  and interrupts on input changes.
38
39config PINCTRL_STARFIVE_JH7110_AON
40	tristate "Always-on pinctrl and GPIO driver for the StarFive JH7110 SoC"
41	depends on SOC_STARFIVE  || COMPILE_TEST
42	depends on OF
43	select PINCTRL_STARFIVE_JH7110
44	default SOC_STARFIVE
45	help
46	  Say yes here to support always-on pin control on the StarFive JH7110 SoC.
47	  This also provides an interface to the GPIO pins not used by other
48	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
49	  and interrupts on input changes.
50
51config PINCTRL_STARFIVE_JHB100
52	bool
53	depends on OF
54	select GENERIC_PINCTRL
55	select GPIOLIB
56	select GPIOLIB_IRQCHIP
57	select OF_GPIO
58
59config PINCTRL_STARFIVE_JHB100_SYS0
60	tristate "StarFive JHB100 SoC System-0 pinctrl and GPIO driver"
61	depends on ARCH_STARFIVE || COMPILE_TEST
62	select PINCTRL_STARFIVE_JHB100
63	default ARCH_STARFIVE
64	help
65	  Say yes here to support system-0 pin control on the StarFive JHB100 SoC.
66	  This also provides an interface to the GPIO pins not used by other
67	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
68	  and interrupts on input changes.
69
70config PINCTRL_STARFIVE_JHB100_SYS0H
71	tristate "StarFive JHB100 SoC System-0 Host pinctrl and GPIO driver"
72	depends on ARCH_STARFIVE || COMPILE_TEST
73	select PINCTRL_STARFIVE_JHB100
74	default ARCH_STARFIVE
75	help
76	  Say yes here to support System-0 Host pin control on the StarFive JHB100 SoC.
77	  This also provides an interface to the GPIO pins not used by other
78	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
79	  and interrupts on input changes.
80