Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #
  2. # Renesas SH and SH Mobile PINCTRL drivers
  3. #
  4. if ARCH_SHMOBILE || SUPERH
  5. config PINCTRL_SH_PFC
  6. # XXX move off the gpio dependency
  7. depends on GENERIC_GPIO
  8. select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
  9. select PINMUX
  10. select PINCONF
  11. def_bool y
  12. help
  13. This enables pin control drivers for SH and SH Mobile platforms
  14. config GPIO_SH_PFC
  15. bool "SuperH PFC GPIO support"
  16. depends on PINCTRL_SH_PFC && GPIOLIB
  17. help
  18. This enables support for GPIOs within the SoC's pin function
  19. controller.
  20. config PINCTRL_PFC_R8A7740
  21. def_bool y
  22. depends on ARCH_R8A7740
  23. select PINCTRL_SH_PFC
  24. config PINCTRL_PFC_R8A7779
  25. def_bool y
  26. depends on ARCH_R8A7779
  27. select PINCTRL_SH_PFC
  28. config PINCTRL_PFC_SH7203
  29. def_bool y
  30. depends on CPU_SUBTYPE_SH7203
  31. depends on GENERIC_GPIO
  32. select PINCTRL_SH_PFC
  33. config PINCTRL_PFC_SH7264
  34. def_bool y
  35. depends on CPU_SUBTYPE_SH7264
  36. depends on GENERIC_GPIO
  37. select PINCTRL_SH_PFC
  38. config PINCTRL_PFC_SH7269
  39. def_bool y
  40. depends on CPU_SUBTYPE_SH7269
  41. depends on GENERIC_GPIO
  42. select PINCTRL_SH_PFC
  43. config PINCTRL_PFC_SH7372
  44. def_bool y
  45. depends on ARCH_SH7372
  46. select PINCTRL_SH_PFC
  47. config PINCTRL_PFC_SH73A0
  48. def_bool y
  49. depends on ARCH_SH73A0
  50. select PINCTRL_SH_PFC
  51. endif