xref: /openbmc/linux/drivers/pinctrl/starfive/Kconfig (revision ba7fdf88e98acadc00c56e1272d022564f7ac721)
1*ba7fdf88SJianlong Huang# SPDX-License-Identifier: GPL-2.0-only
2*ba7fdf88SJianlong Huang
3*ba7fdf88SJianlong Huangconfig PINCTRL_STARFIVE
4*ba7fdf88SJianlong Huang	tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC"
5*ba7fdf88SJianlong Huang	depends on SOC_STARFIVE || COMPILE_TEST
6*ba7fdf88SJianlong Huang	depends on OF
7*ba7fdf88SJianlong Huang	select GENERIC_PINCTRL_GROUPS
8*ba7fdf88SJianlong Huang	select GENERIC_PINMUX_FUNCTIONS
9*ba7fdf88SJianlong Huang	select GENERIC_PINCONF
10*ba7fdf88SJianlong Huang	select GPIOLIB
11*ba7fdf88SJianlong Huang	select GPIOLIB_IRQCHIP
12*ba7fdf88SJianlong Huang	select OF_GPIO
13*ba7fdf88SJianlong Huang	default SOC_STARFIVE
14*ba7fdf88SJianlong Huang	help
15*ba7fdf88SJianlong Huang	  Say yes here to support pin control on the StarFive JH7100 SoC.
16*ba7fdf88SJianlong Huang	  This also provides an interface to the GPIO pins not used by other
17*ba7fdf88SJianlong Huang	  peripherals supporting inputs, outputs, configuring pull-up/pull-down
18*ba7fdf88SJianlong Huang	  and interrupts on input changes.
19