Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. #
  2. # PINCTRL infrastructure and drivers
  3. #
  4. config PINCTRL
  5. bool
  6. if PINCTRL
  7. menu "Pin controllers"
  8. depends on PINCTRL
  9. config PINMUX
  10. bool "Support pin multiplexing controllers"
  11. config PINCONF
  12. bool "Support pin configuration controllers"
  13. config GENERIC_PINCONF
  14. bool
  15. select PINCONF
  16. config DEBUG_PINCTRL
  17. bool "Debug PINCTRL calls"
  18. depends on DEBUG_KERNEL
  19. help
  20. Say Y here to add some extra checks and diagnostics to PINCTRL calls.
  21. config PINCTRL_AT91
  22. bool "AT91 pinctrl driver"
  23. depends on OF
  24. depends on ARCH_AT91
  25. select PINMUX
  26. select PINCONF
  27. help
  28. Say Y here to enable the at91 pinctrl driver
  29. config PINCTRL_BCM2835
  30. bool
  31. select PINMUX
  32. select PINCONF
  33. config PINCTRL_IMX
  34. bool
  35. select PINMUX
  36. select PINCONF
  37. config PINCTRL_IMX35
  38. bool "IMX35 pinctrl driver"
  39. depends on OF
  40. depends on SOC_IMX35
  41. select PINCTRL_IMX
  42. help
  43. Say Y here to enable the imx35 pinctrl driver
  44. config PINCTRL_IMX51
  45. bool "IMX51 pinctrl driver"
  46. depends on OF
  47. depends on SOC_IMX51
  48. select PINCTRL_IMX
  49. help
  50. Say Y here to enable the imx51 pinctrl driver
  51. config PINCTRL_IMX53
  52. bool "IMX53 pinctrl driver"
  53. depends on OF
  54. depends on SOC_IMX53
  55. select PINCTRL_IMX
  56. help
  57. Say Y here to enable the imx53 pinctrl driver
  58. config PINCTRL_IMX6Q
  59. bool "IMX6Q pinctrl driver"
  60. depends on OF
  61. depends on SOC_IMX6Q
  62. select PINCTRL_IMX
  63. help
  64. Say Y here to enable the imx6q pinctrl driver
  65. config PINCTRL_LANTIQ
  66. bool
  67. depends on LANTIQ
  68. select PINMUX
  69. select PINCONF
  70. config PINCTRL_PXA3xx
  71. bool
  72. select PINMUX
  73. config PINCTRL_FALCON
  74. bool
  75. depends on SOC_FALCON
  76. depends on PINCTRL_LANTIQ
  77. config PINCTRL_MMP2
  78. bool "MMP2 pin controller driver"
  79. depends on ARCH_MMP
  80. select PINCTRL_PXA3xx
  81. config PINCTRL_MXS
  82. bool
  83. select PINMUX
  84. select PINCONF
  85. config PINCTRL_IMX23
  86. bool
  87. select PINCTRL_MXS
  88. config PINCTRL_IMX28
  89. bool
  90. select PINCTRL_MXS
  91. config PINCTRL_NOMADIK
  92. bool "Nomadik pin controller driver"
  93. depends on ARCH_U8500 || ARCH_NOMADIK
  94. select PINMUX
  95. select PINCONF
  96. config PINCTRL_STN8815
  97. bool "STN8815 pin controller driver"
  98. depends on PINCTRL_NOMADIK && ARCH_NOMADIK
  99. config PINCTRL_DB8500
  100. bool "DB8500 pin controller driver"
  101. depends on PINCTRL_NOMADIK && ARCH_U8500
  102. config PINCTRL_DB8540
  103. bool "DB8540 pin controller driver"
  104. depends on PINCTRL_NOMADIK && ARCH_U8500
  105. config PINCTRL_PXA168
  106. bool "PXA168 pin controller driver"
  107. depends on ARCH_MMP
  108. select PINCTRL_PXA3xx
  109. config PINCTRL_PXA910
  110. bool "PXA910 pin controller driver"
  111. depends on ARCH_MMP
  112. select PINCTRL_PXA3xx
  113. config PINCTRL_SINGLE
  114. tristate "One-register-per-pin type device tree based pinctrl driver"
  115. depends on OF
  116. select PINMUX
  117. select PINCONF
  118. help
  119. This selects the device tree based generic pinctrl driver.
  120. config PINCTRL_SIRF
  121. bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
  122. depends on ARCH_SIRF
  123. select PINMUX
  124. config PINCTRL_TEGRA
  125. bool
  126. select PINMUX
  127. select PINCONF
  128. config PINCTRL_TEGRA20
  129. bool
  130. select PINCTRL_TEGRA
  131. config PINCTRL_TEGRA30
  132. bool
  133. select PINCTRL_TEGRA
  134. config PINCTRL_U300
  135. bool "U300 pin controller driver"
  136. depends on ARCH_U300
  137. select PINMUX
  138. select GENERIC_PINCONF
  139. config PINCTRL_COH901
  140. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  141. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  142. help
  143. Say yes here to support GPIO interface on ST-Ericsson U300.
  144. The names of the two IP block variants supported are
  145. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  146. ports of 8 GPIO pins each.
  147. config PINCTRL_SAMSUNG
  148. bool
  149. depends on OF && GPIOLIB
  150. select PINMUX
  151. select PINCONF
  152. config PINCTRL_EXYNOS4
  153. bool "Pinctrl driver data for Exynos4 SoC"
  154. depends on OF && GPIOLIB
  155. select PINCTRL_SAMSUNG
  156. config PINCTRL_EXYNOS5440
  157. bool "Samsung EXYNOS5440 SoC pinctrl driver"
  158. select PINMUX
  159. select PINCONF
  160. source "drivers/pinctrl/mvebu/Kconfig"
  161. source "drivers/pinctrl/spear/Kconfig"
  162. config PINCTRL_XWAY
  163. bool
  164. depends on SOC_TYPE_XWAY
  165. depends on PINCTRL_LANTIQ
  166. endmenu
  167. endif