Skip to content

Commit

Permalink
pinctrl: Add StarFive JH7110 driver
Browse files Browse the repository at this point in the history
  • Loading branch information
esmil committed Oct 5, 2022
1 parent 3a0184d commit c263331
Show file tree
Hide file tree
Showing 3 changed files with 1,228 additions and 0 deletions.
17 changes: 17 additions & 0 deletions drivers/pinctrl/Kconfig
Expand Up @@ -429,6 +429,23 @@ config PINCTRL_STARFIVE
peripherals supporting inputs, outputs, configuring pull-up/pull-down
and interrupts on input changes.

config PINCTRL_STARFIVE_JH7110
tristate "Pinctrl and GPIO driver for the StarFive JH7110 SoC"
depends on SOC_STARFIVE || COMPILE_TEST
depends on OF
default SOC_STARFIVE
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
select GENERIC_PINCONF
select GPIOLIB
select GPIOLIB_IRQCHIP
select OF_GPIO
help
Say yes here to support pin control on the StarFive JH7110 SoC.
This also provides an interface to the GPIO pins not used by other
peripherals supporting inputs, outputs, configuring pull-up/pull-down
and interrupts on input changes.

config PINCTRL_STMFX
tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/Makefile
Expand Up @@ -44,6 +44,7 @@ obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
obj-$(CONFIG_PINCTRL_STARFIVE) += pinctrl-starfive.o
obj-$(CONFIG_PINCTRL_STARFIVE_JH7110) += pinctrl-starfive-jh7110.o
obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o
obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
Expand Down

0 comments on commit c263331

Please sign in to comment.