Kconfig 6.1 KB

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