Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. select PINCONF
  82. config PINCTRL_MXS
  83. bool
  84. select PINMUX
  85. select PINCONF
  86. config PINCTRL_IMX23
  87. bool
  88. select PINCTRL_MXS
  89. config PINCTRL_IMX28
  90. bool
  91. select PINCTRL_MXS
  92. config PINCTRL_NOMADIK
  93. bool "Nomadik pin controller driver"
  94. depends on ARCH_U8500 || ARCH_NOMADIK
  95. select PINMUX
  96. select PINCONF
  97. config PINCTRL_STN8815
  98. bool "STN8815 pin controller driver"
  99. depends on PINCTRL_NOMADIK && ARCH_NOMADIK
  100. config PINCTRL_DB8500
  101. bool "DB8500 pin controller driver"
  102. depends on PINCTRL_NOMADIK && ARCH_U8500
  103. config PINCTRL_DB8540
  104. bool "DB8540 pin controller driver"
  105. depends on PINCTRL_NOMADIK && ARCH_U8500
  106. config PINCTRL_PXA168
  107. bool "PXA168 pin controller driver"
  108. depends on ARCH_MMP
  109. select PINCTRL_PXA3xx
  110. select PINCONF
  111. config PINCTRL_PXA910
  112. bool "PXA910 pin controller driver"
  113. depends on ARCH_MMP
  114. select PINCTRL_PXA3xx
  115. select PINCONF
  116. config PINCTRL_SINGLE
  117. tristate "One-register-per-pin type device tree based pinctrl driver"
  118. depends on OF
  119. select PINMUX
  120. select PINCONF
  121. help
  122. This selects the device tree based generic pinctrl driver.
  123. config PINCTRL_SIRF
  124. bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
  125. depends on ARCH_SIRF
  126. select PINMUX
  127. config PINCTRL_TEGRA
  128. bool
  129. select PINMUX
  130. select PINCONF
  131. config PINCTRL_TEGRA20
  132. bool
  133. select PINCTRL_TEGRA
  134. config PINCTRL_TEGRA30
  135. bool
  136. select PINCTRL_TEGRA
  137. config PINCTRL_U300
  138. bool "U300 pin controller driver"
  139. depends on ARCH_U300
  140. select PINMUX
  141. select GENERIC_PINCONF
  142. config PINCTRL_COH901
  143. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  144. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  145. help
  146. Say yes here to support GPIO interface on ST-Ericsson U300.
  147. The names of the two IP block variants supported are
  148. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  149. ports of 8 GPIO pins each.
  150. config PINCTRL_SAMSUNG
  151. bool "Samsung pinctrl driver"
  152. depends on OF && GPIOLIB
  153. select PINMUX
  154. select PINCONF
  155. config PINCTRL_EXYNOS4
  156. bool "Pinctrl driver data for Exynos4 SoC"
  157. depends on OF && GPIOLIB
  158. select PINCTRL_SAMSUNG
  159. source "drivers/pinctrl/mvebu/Kconfig"
  160. source "drivers/pinctrl/spear/Kconfig"
  161. config PINCTRL_XWAY
  162. bool
  163. depends on SOC_TYPE_XWAY
  164. depends on PINCTRL_LANTIQ
  165. endmenu
  166. endif