0003-add-airoha-en7523-gpio-driver.patch 919 B

1234567891011121314151617181920212223242526272829
  1. --- a/drivers/gpio/Kconfig
  2. +++ b/drivers/gpio/Kconfig
  3. @@ -247,6 +247,16 @@ config GPIO_EM
  4. help
  5. Say yes here to support GPIO on Renesas Emma Mobile SoCs.
  6. +config GPIO_EN7523
  7. + tristate "Airoha GPIO support"
  8. + depends on ARCH_AIROHA
  9. + default ARCH_AIROHA
  10. + select GPIO_GENERIC
  11. + select GPIOLIB_IRQCHIP
  12. + help
  13. + Say Y or M here to support the GPIO controller block on the
  14. + Airoha EN7523 SoC. It supports two banks of 32 GPIOs.
  15. +
  16. config GPIO_EP93XX
  17. def_bool y
  18. depends on ARCH_EP93XX
  19. --- a/drivers/gpio/Makefile
  20. +++ b/drivers/gpio/Makefile
  21. @@ -57,6 +57,7 @@ obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o
  22. obj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o
  23. obj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o
  24. obj-$(CONFIG_GPIO_EM) += gpio-em.o
  25. +obj-$(CONFIG_GPIO_EN7523) += gpio-en7523.o
  26. obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o
  27. obj-$(CONFIG_GPIO_EXAR) += gpio-exar.o
  28. obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o