Kconfig 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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_ABX500
  22. bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
  23. depends on AB8500_CORE
  24. select GENERIC_PINCONF
  25. help
  26. Select this to enable the ABx500 family IC GPIO driver
  27. config PINCTRL_AB8500
  28. bool "AB8500 pin controller driver"
  29. depends on PINCTRL_ABX500 && ARCH_U8500
  30. config PINCTRL_AB8540
  31. bool "AB8540 pin controller driver"
  32. depends on PINCTRL_ABX500 && ARCH_U8500
  33. config PINCTRL_AB9540
  34. bool "AB9540 pin controller driver"
  35. depends on PINCTRL_ABX500 && ARCH_U8500
  36. config PINCTRL_AB8505
  37. bool "AB8505 pin controller driver"
  38. depends on PINCTRL_ABX500 && ARCH_U8500
  39. config PINCTRL_ADI2
  40. bool "ADI pin controller driver"
  41. select PINMUX
  42. select IRQ_DOMAIN
  43. help
  44. This is the pin controller and gpio driver for ADI BF54x, BF60x and
  45. future processors. This option is selected automatically when specific
  46. machine and arch are selected to build.
  47. config PINCTRL_BF54x
  48. def_bool y if BF54x
  49. select PINCTRL_ADI2
  50. config PINCTRL_BF60x
  51. def_bool y if BF60x
  52. select PINCTRL_ADI2
  53. config PINCTRL_AT91
  54. bool "AT91 pinctrl driver"
  55. depends on OF
  56. depends on ARCH_AT91
  57. select PINMUX
  58. select PINCONF
  59. help
  60. Say Y here to enable the at91 pinctrl driver
  61. config PINCTRL_BAYTRAIL
  62. bool "Intel Baytrail GPIO pin control"
  63. depends on GPIOLIB && ACPI && X86
  64. select IRQ_DOMAIN
  65. help
  66. driver for memory mapped GPIO functionality on Intel Baytrail
  67. platforms. Supports 3 banks with 102, 28 and 44 gpios.
  68. Most pins are usually muxed to some other functionality by firmware,
  69. so only a small amount is available for gpio use.
  70. Requires ACPI device enumeration code to set up a platform device.
  71. config PINCTRL_BCM2835
  72. bool
  73. select PINMUX
  74. select PINCONF
  75. config PINCTRL_IMX
  76. bool
  77. select PINMUX
  78. select PINCONF
  79. config PINCTRL_IMX35
  80. bool "IMX35 pinctrl driver"
  81. depends on OF
  82. depends on SOC_IMX35
  83. select PINCTRL_IMX
  84. help
  85. Say Y here to enable the imx35 pinctrl driver
  86. config PINCTRL_IMX51
  87. bool "IMX51 pinctrl driver"
  88. depends on OF
  89. depends on SOC_IMX51
  90. select PINCTRL_IMX
  91. help
  92. Say Y here to enable the imx51 pinctrl driver
  93. config PINCTRL_IMX53
  94. bool "IMX53 pinctrl driver"
  95. depends on OF
  96. depends on SOC_IMX53
  97. select PINCTRL_IMX
  98. help
  99. Say Y here to enable the imx53 pinctrl driver
  100. config PINCTRL_IMX6Q
  101. bool "IMX6Q/DL pinctrl driver"
  102. depends on OF
  103. depends on SOC_IMX6Q
  104. select PINCTRL_IMX
  105. help
  106. Say Y here to enable the imx6q/dl pinctrl driver
  107. config PINCTRL_IMX6SL
  108. bool "IMX6SL pinctrl driver"
  109. depends on OF
  110. depends on SOC_IMX6SL
  111. select PINCTRL_IMX
  112. help
  113. Say Y here to enable the imx6sl pinctrl driver
  114. config PINCTRL_VF610
  115. bool "Freescale Vybrid VF610 pinctrl driver"
  116. depends on OF
  117. depends on SOC_VF610
  118. select PINCTRL_IMX
  119. help
  120. Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
  121. config PINCTRL_LANTIQ
  122. bool
  123. depends on LANTIQ
  124. select PINMUX
  125. select PINCONF
  126. config PINCTRL_FALCON
  127. bool
  128. depends on SOC_FALCON
  129. depends on PINCTRL_LANTIQ
  130. config PINCTRL_MXS
  131. bool
  132. select PINMUX
  133. select PINCONF
  134. config PINCTRL_IMX23
  135. bool
  136. select PINCTRL_MXS
  137. config PINCTRL_IMX28
  138. bool
  139. select PINCTRL_MXS
  140. config PINCTRL_NOMADIK
  141. bool "Nomadik pin controller driver"
  142. depends on ARCH_U8500 || ARCH_NOMADIK
  143. select PINMUX
  144. select PINCONF
  145. config PINCTRL_STN8815
  146. bool "STN8815 pin controller driver"
  147. depends on PINCTRL_NOMADIK && ARCH_NOMADIK
  148. config PINCTRL_DB8500
  149. bool "DB8500 pin controller driver"
  150. depends on PINCTRL_NOMADIK && ARCH_U8500
  151. config PINCTRL_DB8540
  152. bool "DB8540 pin controller driver"
  153. depends on PINCTRL_NOMADIK && ARCH_U8500
  154. config PINCTRL_ROCKCHIP
  155. bool
  156. select PINMUX
  157. select GENERIC_PINCONF
  158. select GENERIC_IRQ_CHIP
  159. config PINCTRL_SINGLE
  160. tristate "One-register-per-pin type device tree based pinctrl driver"
  161. depends on OF
  162. select PINMUX
  163. select PINCONF
  164. select GENERIC_PINCONF
  165. help
  166. This selects the device tree based generic pinctrl driver.
  167. config PINCTRL_SIRF
  168. bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
  169. depends on ARCH_SIRF
  170. select PINMUX
  171. config PINCTRL_SUNXI
  172. bool
  173. select PINMUX
  174. select GENERIC_PINCONF
  175. config PINCTRL_ST
  176. bool
  177. depends on OF
  178. select PINMUX
  179. select PINCONF
  180. config PINCTRL_TEGRA
  181. bool
  182. select PINMUX
  183. select PINCONF
  184. config PINCTRL_TEGRA20
  185. bool
  186. select PINCTRL_TEGRA
  187. config PINCTRL_TEGRA30
  188. bool
  189. select PINCTRL_TEGRA
  190. config PINCTRL_TEGRA114
  191. bool
  192. select PINCTRL_TEGRA
  193. config PINCTRL_TZ1090
  194. bool "Toumaz Xenif TZ1090 pin control driver"
  195. depends on SOC_TZ1090
  196. select PINMUX
  197. select GENERIC_PINCONF
  198. config PINCTRL_TZ1090_PDC
  199. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  200. depends on SOC_TZ1090
  201. select PINMUX
  202. select PINCONF
  203. config PINCTRL_U300
  204. bool "U300 pin controller driver"
  205. depends on ARCH_U300
  206. select PINMUX
  207. select GENERIC_PINCONF
  208. config PINCTRL_COH901
  209. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  210. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  211. help
  212. Say yes here to support GPIO interface on ST-Ericsson U300.
  213. The names of the two IP block variants supported are
  214. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  215. ports of 8 GPIO pins each.
  216. config PINCTRL_SAMSUNG
  217. bool
  218. select PINMUX
  219. select PINCONF
  220. config PINCTRL_EXYNOS
  221. bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
  222. depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
  223. select PINCTRL_SAMSUNG
  224. config PINCTRL_EXYNOS5440
  225. bool "Samsung EXYNOS5440 SoC pinctrl driver"
  226. depends on SOC_EXYNOS5440
  227. select PINMUX
  228. select PINCONF
  229. config PINCTRL_PALMAS
  230. bool "Pinctrl driver for the PALMAS Series MFD devices"
  231. depends on OF && MFD_PALMAS
  232. select PINMUX
  233. select GENERIC_PINCONF
  234. help
  235. Palmas device supports the configuration of pins for different
  236. functionality. This driver supports the pinmux, push-pull and
  237. open drain configuration for the Palmas series devices like
  238. TPS65913, TPS80036 etc.
  239. config PINCTRL_S3C24XX
  240. bool "Samsung S3C24XX SoC pinctrl driver"
  241. depends on ARCH_S3C24XX
  242. select PINCTRL_SAMSUNG
  243. config PINCTRL_S3C64XX
  244. bool "Samsung S3C64XX SoC pinctrl driver"
  245. depends on ARCH_S3C64XX
  246. select PINCTRL_SAMSUNG
  247. source "drivers/pinctrl/mvebu/Kconfig"
  248. source "drivers/pinctrl/sh-pfc/Kconfig"
  249. source "drivers/pinctrl/spear/Kconfig"
  250. source "drivers/pinctrl/vt8500/Kconfig"
  251. config PINCTRL_XWAY
  252. bool
  253. depends on SOC_TYPE_XWAY
  254. depends on PINCTRL_LANTIQ
  255. endmenu
  256. endif