Kconfig 6.6 KB

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