xref: /openbmc/linux/drivers/pinctrl/starfive/Kconfig (revision fa0dadde)
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	select OF_GPIO
13	default SOC_STARFIVE
14	help
15	  Say yes here to support pin control on the StarFive JH7100 SoC.
16	  This also provides an interface to the GPIO pins not used by other
17	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
18	  and interrupts on input changes.
19
20config PINCTRL_STARFIVE_JH7110
21	bool
22	select GENERIC_PINCTRL_GROUPS
23	select GENERIC_PINMUX_FUNCTIONS
24	select GENERIC_PINCONF
25	select GPIOLIB
26	select GPIOLIB_IRQCHIP
27	select OF_GPIO
28
29config PINCTRL_STARFIVE_JH7110_SYS
30	tristate "System pinctrl and GPIO driver for the StarFive JH7110 SoC"
31	depends on SOC_STARFIVE  || COMPILE_TEST
32	depends on OF
33	select PINCTRL_STARFIVE_JH7110
34	default SOC_STARFIVE
35	help
36	  Say yes here to support system pin control on the StarFive JH7110 SoC.
37	  This also provides an interface to the GPIO pins not used by other
38	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
39	  and interrupts on input changes.
40
41config PINCTRL_STARFIVE_JH7110_AON
42	tristate "Always-on pinctrl and GPIO driver for the StarFive JH7110 SoC"
43	depends on SOC_STARFIVE  || COMPILE_TEST
44	depends on OF
45	select PINCTRL_STARFIVE_JH7110
46	default SOC_STARFIVE
47	help
48	  Say yes here to support always-on pin control on the StarFive JH7110 SoC.
49	  This also provides an interface to the GPIO pins not used by other
50	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
51	  and interrupts on input changes.
52