301-gpio-add-rtl8231-driver.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <[email protected]>
  3. Date: Thu, 26 Nov 2020 12:02:21 +0100
  4. Subject: [PATCH] realtek: update the tree to the latest refactored version
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. * rename the target to realtek
  9. * add refactored DSA driver
  10. * add latest gpio driver
  11. * lots of arch cleanups
  12. * new irq driver
  13. * additional boards
  14. Submitted-by: Bert Vermeulen <[email protected]>
  15. Submitted-by: Birger Koblitz <[email protected]>
  16. Submitted-by: Sander Vanheule <[email protected]>
  17. Submitted-by: Bjørn Mork <[email protected]>
  18. Submitted-by: John Crispin <[email protected]>
  19. ---
  20. drivers/gpio/Kconfig | 6 ++++++
  21. drivers/gpio/Makefile | 1 +
  22. 2 files changed, 7 insertions(+)
  23. --- a/drivers/gpio/Kconfig
  24. +++ b/drivers/gpio/Kconfig
  25. @@ -553,6 +553,12 @@ config GPIO_ROCKCHIP
  26. help
  27. Say yes here to support GPIO on Rockchip SoCs.
  28. +config GPIO_RTL8231
  29. + tristate "RTL8231 GPIO"
  30. + depends on MACH_REALTEK_RTL
  31. + help
  32. + Say yes here to support Realtek RTL8231 GPIO expansion chips.
  33. +
  34. config GPIO_SAMA5D2_PIOBU
  35. tristate "SAMA5D2 PIOBU GPIO support"
  36. depends on MFD_SYSCON
  37. --- a/drivers/gpio/Makefile
  38. +++ b/drivers/gpio/Makefile
  39. @@ -138,6 +138,7 @@ obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc3
  40. obj-$(CONFIG_GPIO_REALTEK_OTTO) += gpio-realtek-otto.o
  41. obj-$(CONFIG_GPIO_REG) += gpio-reg.o
  42. obj-$(CONFIG_GPIO_ROCKCHIP) += gpio-rockchip.o
  43. +obj-$(CONFIG_GPIO_RTL8231) += gpio-rtl8231.o
  44. obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o
  45. obj-$(CONFIG_GPIO_SAMA5D2_PIOBU) += gpio-sama5d2-piobu.o
  46. obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o