Skip to content

Commit

Permalink
gpio: starfive-jh7100: Add StarFive JH7100 GPIO driver
Browse files Browse the repository at this point in the history
This SoC is used on the BeagleV Starlight JH7100 board [1].

[1] https://github.com/beagleboard/beaglev-starlight

Signed-off-by: Emil Renner Berthing <[email protected]>
Signed-off-by: Drew Fustini <[email protected]>
  • Loading branch information
huanfeng-sf authored and esmil committed Jun 13, 2021
1 parent d1d30dd commit ad78ee0
Show file tree
Hide file tree
Showing 4 changed files with 938 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,14 @@ config GPIO_SIFIVE
help
Say yes here to support the GPIO device on SiFive SoCs.

config GPIO_STARFIVE_JH7100
bool "StarFive JH7100 GPIO support"
depends on OF_GPIO
select GPIOLIB_IRQCHIP
default y if SOC_STARFIVE_VIC7100
help
Say yes here to support the GPIO device on StarFive JH7100 SoC.

config GPIO_SIOX
tristate "SIOX GPIO support"
depends on SIOX
Expand Down
1 change: 1 addition & 0 deletions drivers/gpio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ obj-$(CONFIG_GPIO_SAMA5D2_PIOBU) += gpio-sama5d2-piobu.o
obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o
obj-$(CONFIG_GPIO_SCH) += gpio-sch.o
obj-$(CONFIG_GPIO_SIFIVE) += gpio-sifive.o
obj-$(CONFIG_GPIO_STARFIVE_JH7100) += gpio-starfive-jh7100.o
obj-$(CONFIG_GPIO_SIOX) += gpio-siox.o
obj-$(CONFIG_GPIO_SL28CPLD) += gpio-sl28cpld.o
obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o
Expand Down
Loading

0 comments on commit ad78ee0

Please sign in to comment.