Kconfig 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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_IMX35
  91. bool "IMX35 pinctrl driver"
  92. depends on OF
  93. depends on SOC_IMX35
  94. select PINCTRL_IMX
  95. help
  96. Say Y here to enable the imx35 pinctrl driver
  97. config PINCTRL_IMX51
  98. bool "IMX51 pinctrl driver"
  99. depends on OF
  100. depends on SOC_IMX51
  101. select PINCTRL_IMX
  102. help
  103. Say Y here to enable the imx51 pinctrl driver
  104. config PINCTRL_IMX53
  105. bool "IMX53 pinctrl driver"
  106. depends on OF
  107. depends on SOC_IMX53
  108. select PINCTRL_IMX
  109. help
  110. Say Y here to enable the imx53 pinctrl driver
  111. config PINCTRL_IMX6Q
  112. bool "IMX6Q/DL pinctrl driver"
  113. depends on OF
  114. depends on SOC_IMX6Q
  115. select PINCTRL_IMX
  116. help
  117. Say Y here to enable the imx6q/dl pinctrl driver
  118. config PINCTRL_IMX6SL
  119. bool "IMX6SL pinctrl driver"
  120. depends on OF
  121. depends on SOC_IMX6SL
  122. select PINCTRL_IMX
  123. help
  124. Say Y here to enable the imx6sl pinctrl driver
  125. config PINCTRL_VF610
  126. bool "Freescale Vybrid VF610 pinctrl driver"
  127. depends on OF
  128. depends on SOC_VF610
  129. select PINCTRL_IMX
  130. help
  131. Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
  132. config PINCTRL_LANTIQ
  133. bool
  134. depends on LANTIQ
  135. select PINMUX
  136. select PINCONF
  137. config PINCTRL_FALCON
  138. bool
  139. depends on SOC_FALCON
  140. depends on PINCTRL_LANTIQ
  141. config PINCTRL_MXS
  142. bool
  143. select PINMUX
  144. select PINCONF
  145. config PINCTRL_IMX23
  146. bool
  147. select PINCTRL_MXS
  148. config PINCTRL_IMX28
  149. bool
  150. select PINCTRL_MXS
  151. config PINCTRL_NOMADIK
  152. bool "Nomadik pin controller driver"
  153. depends on ARCH_U8500 || ARCH_NOMADIK
  154. select PINMUX
  155. select PINCONF
  156. config PINCTRL_STN8815
  157. bool "STN8815 pin controller driver"
  158. depends on PINCTRL_NOMADIK && ARCH_NOMADIK
  159. config PINCTRL_DB8500
  160. bool "DB8500 pin controller driver"
  161. depends on PINCTRL_NOMADIK && ARCH_U8500
  162. config PINCTRL_DB8540
  163. bool "DB8540 pin controller driver"
  164. depends on PINCTRL_NOMADIK && ARCH_U8500
  165. config PINCTRL_ROCKCHIP
  166. bool
  167. select PINMUX
  168. select GENERIC_PINCONF
  169. select GENERIC_IRQ_CHIP
  170. config PINCTRL_SINGLE
  171. tristate "One-register-per-pin type device tree based pinctrl driver"
  172. depends on OF
  173. select PINMUX
  174. select PINCONF
  175. select GENERIC_PINCONF
  176. help
  177. This selects the device tree based generic pinctrl driver.
  178. config PINCTRL_SIRF
  179. bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
  180. depends on ARCH_SIRF
  181. select PINMUX
  182. config PINCTRL_SUNXI
  183. bool
  184. select PINMUX
  185. select GENERIC_PINCONF
  186. config PINCTRL_ST
  187. bool
  188. depends on OF
  189. select PINMUX
  190. select PINCONF
  191. config PINCTRL_TEGRA
  192. bool
  193. select PINMUX
  194. select PINCONF
  195. config PINCTRL_TEGRA20
  196. bool
  197. select PINCTRL_TEGRA
  198. config PINCTRL_TEGRA30
  199. bool
  200. select PINCTRL_TEGRA
  201. config PINCTRL_TEGRA114
  202. bool
  203. select PINCTRL_TEGRA
  204. config PINCTRL_TZ1090
  205. bool "Toumaz Xenif TZ1090 pin control driver"
  206. depends on SOC_TZ1090
  207. select PINMUX
  208. select GENERIC_PINCONF
  209. config PINCTRL_TZ1090_PDC
  210. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  211. depends on SOC_TZ1090
  212. select PINMUX
  213. select PINCONF
  214. config PINCTRL_U300
  215. bool "U300 pin controller driver"
  216. depends on ARCH_U300
  217. select PINMUX
  218. select GENERIC_PINCONF
  219. config PINCTRL_COH901
  220. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  221. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  222. help
  223. Say yes here to support GPIO interface on ST-Ericsson U300.
  224. The names of the two IP block variants supported are
  225. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  226. ports of 8 GPIO pins each.
  227. config PINCTRL_SAMSUNG
  228. bool
  229. select PINMUX
  230. select PINCONF
  231. config PINCTRL_EXYNOS
  232. bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
  233. depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
  234. select PINCTRL_SAMSUNG
  235. config PINCTRL_EXYNOS5440
  236. bool "Samsung EXYNOS5440 SoC pinctrl driver"
  237. depends on SOC_EXYNOS5440
  238. select PINMUX
  239. select PINCONF
  240. config PINCTRL_PALMAS
  241. bool "Pinctrl driver for the PALMAS Series MFD devices"
  242. depends on OF && MFD_PALMAS
  243. select PINMUX
  244. select GENERIC_PINCONF
  245. help
  246. Palmas device supports the configuration of pins for different
  247. functionality. This driver supports the pinmux, push-pull and
  248. open drain configuration for the Palmas series devices like
  249. TPS65913, TPS80036 etc.
  250. config PINCTRL_S3C24XX
  251. bool "Samsung S3C24XX SoC pinctrl driver"
  252. depends on ARCH_S3C24XX
  253. select PINCTRL_SAMSUNG
  254. config PINCTRL_S3C64XX
  255. bool "Samsung S3C64XX SoC pinctrl driver"
  256. depends on ARCH_S3C64XX
  257. select PINCTRL_SAMSUNG
  258. source "drivers/pinctrl/mvebu/Kconfig"
  259. source "drivers/pinctrl/sh-pfc/Kconfig"
  260. source "drivers/pinctrl/spear/Kconfig"
  261. source "drivers/pinctrl/vt8500/Kconfig"
  262. config PINCTRL_XWAY
  263. bool
  264. depends on SOC_TYPE_XWAY
  265. depends on PINCTRL_LANTIQ
  266. config PINCTRL_TB10X
  267. bool
  268. depends on ARC_PLAT_TB10X
  269. endmenu
  270. endif