Kconfig 3.7 KB

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