xref: /linux/drivers/pinctrl/starfive/Kconfig (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1ba7fdf88SJianlong Huang# SPDX-License-Identifier: GPL-2.0-only
2ba7fdf88SJianlong Huang
3ba99b756SJianlong Huangconfig PINCTRL_STARFIVE_JH7100
4ba7fdf88SJianlong Huang	tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC"
5ba7fdf88SJianlong Huang	depends on SOC_STARFIVE || COMPILE_TEST
6ba7fdf88SJianlong Huang	depends on OF
7ba7fdf88SJianlong Huang	select GENERIC_PINCTRL_GROUPS
8ba7fdf88SJianlong Huang	select GENERIC_PINMUX_FUNCTIONS
9ba7fdf88SJianlong Huang	select GENERIC_PINCONF
10ba7fdf88SJianlong Huang	select GPIOLIB
11ba7fdf88SJianlong Huang	select GPIOLIB_IRQCHIP
12ba7fdf88SJianlong Huang	select OF_GPIO
13ba7fdf88SJianlong Huang	default SOC_STARFIVE
14ba7fdf88SJianlong Huang	help
15ba7fdf88SJianlong Huang	  Say yes here to support pin control on the StarFive JH7100 SoC.
16ba7fdf88SJianlong Huang	  This also provides an interface to the GPIO pins not used by other
17ba7fdf88SJianlong Huang	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
18ba7fdf88SJianlong Huang	  and interrupts on input changes.
19447976abSJianlong Huang
20447976abSJianlong Huangconfig PINCTRL_STARFIVE_JH7110
21447976abSJianlong Huang	bool
22447976abSJianlong Huang	select GENERIC_PINCTRL_GROUPS
23447976abSJianlong Huang	select GENERIC_PINMUX_FUNCTIONS
24447976abSJianlong Huang	select GENERIC_PINCONF
25447976abSJianlong Huang	select GPIOLIB
26447976abSJianlong Huang	select GPIOLIB_IRQCHIP
27447976abSJianlong Huang	select OF_GPIO
28447976abSJianlong Huang
29447976abSJianlong Huangconfig PINCTRL_STARFIVE_JH7110_SYS
30447976abSJianlong Huang	tristate "System pinctrl and GPIO driver for the StarFive JH7110 SoC"
31447976abSJianlong Huang	depends on SOC_STARFIVE  || COMPILE_TEST
32447976abSJianlong Huang	depends on OF
33447976abSJianlong Huang	select PINCTRL_STARFIVE_JH7110
34447976abSJianlong Huang	default SOC_STARFIVE
35447976abSJianlong Huang	help
36447976abSJianlong Huang	  Say yes here to support system pin control on the StarFive JH7110 SoC.
37447976abSJianlong Huang	  This also provides an interface to the GPIO pins not used by other
38447976abSJianlong Huang	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
39447976abSJianlong Huang	  and interrupts on input changes.
40*b1170c42SJianlong Huang
41*b1170c42SJianlong Huangconfig PINCTRL_STARFIVE_JH7110_AON
42*b1170c42SJianlong Huang	tristate "Always-on pinctrl and GPIO driver for the StarFive JH7110 SoC"
43*b1170c42SJianlong Huang	depends on SOC_STARFIVE  || COMPILE_TEST
44*b1170c42SJianlong Huang	depends on OF
45*b1170c42SJianlong Huang	select PINCTRL_STARFIVE_JH7110
46*b1170c42SJianlong Huang	default SOC_STARFIVE
47*b1170c42SJianlong Huang	help
48*b1170c42SJianlong Huang	  Say yes here to support always-on pin control on the StarFive JH7110 SoC.
49*b1170c42SJianlong Huang	  This also provides an interface to the GPIO pins not used by other
50*b1170c42SJianlong Huang	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
51*b1170c42SJianlong Huang	  and interrupts on input changes.
52