Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #
  2. # ST Microelectronics SPEAr PINCTRL drivers
  3. #
  4. if PLAT_SPEAR
  5. config PINCTRL_SPEAR
  6. bool
  7. depends on OF
  8. select PINMUX
  9. help
  10. This enables pin control drivers for SPEAr Platform
  11. config PINCTRL_SPEAR3XX
  12. bool
  13. depends on ARCH_SPEAR3XX
  14. select PINCTRL_SPEAR
  15. config PINCTRL_SPEAR300
  16. bool "ST Microelectronics SPEAr300 SoC pin controller driver"
  17. depends on MACH_SPEAR300
  18. select PINCTRL_SPEAR3XX
  19. config PINCTRL_SPEAR310
  20. bool "ST Microelectronics SPEAr310 SoC pin controller driver"
  21. depends on MACH_SPEAR310
  22. select PINCTRL_SPEAR3XX
  23. select PINCTRL_SPEAR_PLGPIO
  24. config PINCTRL_SPEAR320
  25. bool "ST Microelectronics SPEAr320 SoC pin controller driver"
  26. depends on MACH_SPEAR320
  27. select PINCTRL_SPEAR3XX
  28. select PINCTRL_SPEAR_PLGPIO
  29. config PINCTRL_SPEAR1310
  30. bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
  31. depends on MACH_SPEAR1310
  32. select PINCTRL_SPEAR
  33. select PINCTRL_SPEAR_PLGPIO
  34. config PINCTRL_SPEAR1340
  35. bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
  36. depends on MACH_SPEAR1340
  37. select PINCTRL_SPEAR
  38. select PINCTRL_SPEAR_PLGPIO
  39. config PINCTRL_SPEAR_PLGPIO
  40. bool "SPEAr SoC PLGPIO Controller"
  41. depends on GPIOLIB && PINCTRL_SPEAR
  42. select GPIOLIB_IRQCHIP
  43. help
  44. Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
  45. SoCs.
  46. endif