Kconfig 7.3 KB

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