Kconfig 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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" if COMPILE_TEST
  11. config PINCONF
  12. bool "Support pin configuration controllers" if COMPILE_TEST
  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_ADI2
  22. bool "ADI pin controller driver"
  23. depends on BLACKFIN
  24. select PINMUX
  25. select IRQ_DOMAIN
  26. help
  27. This is the pin controller and gpio driver for ADI BF54x, BF60x and
  28. future processors. This option is selected automatically when specific
  29. machine and arch are selected to build.
  30. config PINCTRL_AS3722
  31. bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
  32. depends on MFD_AS3722 && GPIOLIB
  33. select PINMUX
  34. select GENERIC_PINCONF
  35. help
  36. AS3722 device supports the configuration of GPIO pins for different
  37. functionality. This driver supports the pinmux, push-pull and
  38. open drain configuration for the GPIO pins of AS3722 devices. It also
  39. supports the GPIO functionality through gpiolib.
  40. config PINCTRL_BF54x
  41. def_bool y if BF54x
  42. select PINCTRL_ADI2
  43. config PINCTRL_BF60x
  44. def_bool y if BF60x
  45. select PINCTRL_ADI2
  46. config PINCTRL_AT91
  47. bool "AT91 pinctrl driver"
  48. depends on OF
  49. depends on ARCH_AT91
  50. select PINMUX
  51. select PINCONF
  52. select GPIOLIB
  53. select OF_GPIO
  54. select GPIOLIB_IRQCHIP
  55. help
  56. Say Y here to enable the at91 pinctrl driver
  57. config PINCTRL_BAYTRAIL
  58. bool "Intel Baytrail GPIO pin control"
  59. depends on GPIOLIB && ACPI && X86
  60. select GPIOLIB_IRQCHIP
  61. help
  62. driver for memory mapped GPIO functionality on Intel Baytrail
  63. platforms. Supports 3 banks with 102, 28 and 44 gpios.
  64. Most pins are usually muxed to some other functionality by firmware,
  65. so only a small amount is available for gpio use.
  66. Requires ACPI device enumeration code to set up a platform device.
  67. config PINCTRL_BCM2835
  68. bool
  69. select PINMUX
  70. select PINCONF
  71. config PINCTRL_BCM281XX
  72. bool "Broadcom BCM281xx pinctrl driver"
  73. depends on OF
  74. select PINMUX
  75. select PINCONF
  76. select GENERIC_PINCONF
  77. select REGMAP_MMIO
  78. help
  79. Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
  80. for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
  81. BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
  82. framework. GPIO is provided by a separate GPIO driver.
  83. config PINCTRL_IMX
  84. bool
  85. select PINMUX
  86. select PINCONF
  87. config PINCTRL_IMX1_CORE
  88. bool
  89. select PINMUX
  90. select PINCONF
  91. config PINCTRL_IMX1
  92. bool "IMX1 pinctrl driver"
  93. depends on SOC_IMX1
  94. select PINCTRL_IMX1_CORE
  95. help
  96. Say Y here to enable the imx1 pinctrl driver
  97. config PINCTRL_IMX27
  98. bool "IMX27 pinctrl driver"
  99. depends on SOC_IMX27
  100. select PINCTRL_IMX1_CORE
  101. help
  102. Say Y here to enable the imx27 pinctrl driver
  103. config PINCTRL_IMX25
  104. bool "IMX25 pinctrl driver"
  105. depends on OF
  106. depends on SOC_IMX25
  107. select PINCTRL_IMX
  108. help
  109. Say Y here to enable the imx25 pinctrl driver
  110. config PINCTRL_IMX35
  111. bool "IMX35 pinctrl driver"
  112. depends on SOC_IMX35
  113. select PINCTRL_IMX
  114. help
  115. Say Y here to enable the imx35 pinctrl driver
  116. config PINCTRL_IMX50
  117. bool "IMX50 pinctrl driver"
  118. depends on SOC_IMX50
  119. select PINCTRL_IMX
  120. help
  121. Say Y here to enable the imx50 pinctrl driver
  122. config PINCTRL_IMX51
  123. bool "IMX51 pinctrl driver"
  124. depends on SOC_IMX51
  125. select PINCTRL_IMX
  126. help
  127. Say Y here to enable the imx51 pinctrl driver
  128. config PINCTRL_IMX53
  129. bool "IMX53 pinctrl driver"
  130. depends on SOC_IMX53
  131. select PINCTRL_IMX
  132. help
  133. Say Y here to enable the imx53 pinctrl driver
  134. config PINCTRL_IMX6Q
  135. bool "IMX6Q/DL pinctrl driver"
  136. depends on SOC_IMX6Q
  137. select PINCTRL_IMX
  138. help
  139. Say Y here to enable the imx6q/dl pinctrl driver
  140. config PINCTRL_IMX6SL
  141. bool "IMX6SL pinctrl driver"
  142. depends on SOC_IMX6SL
  143. select PINCTRL_IMX
  144. help
  145. Say Y here to enable the imx6sl pinctrl driver
  146. config PINCTRL_IMX6SX
  147. bool "IMX6SX pinctrl driver"
  148. depends on SOC_IMX6SX
  149. select PINCTRL_IMX
  150. help
  151. Say Y here to enable the imx6sx pinctrl driver
  152. config PINCTRL_VF610
  153. bool "Freescale Vybrid VF610 pinctrl driver"
  154. depends on SOC_VF610
  155. select PINCTRL_IMX
  156. help
  157. Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
  158. config PINCTRL_LANTIQ
  159. bool
  160. depends on LANTIQ
  161. select PINMUX
  162. select PINCONF
  163. config PINCTRL_FALCON
  164. bool
  165. depends on SOC_FALCON
  166. depends on PINCTRL_LANTIQ
  167. config PINCTRL_MXS
  168. bool
  169. select PINMUX
  170. select PINCONF
  171. config PINCTRL_IMX23
  172. bool
  173. select PINCTRL_MXS
  174. config PINCTRL_IMX28
  175. bool
  176. select PINCTRL_MXS
  177. config PINCTRL_ROCKCHIP
  178. bool
  179. select PINMUX
  180. select GENERIC_PINCONF
  181. select GENERIC_IRQ_CHIP
  182. select MFD_SYSCON
  183. config PINCTRL_SINGLE
  184. tristate "One-register-per-pin type device tree based pinctrl driver"
  185. depends on OF
  186. select PINMUX
  187. select PINCONF
  188. select GENERIC_PINCONF
  189. help
  190. This selects the device tree based generic pinctrl driver.
  191. config PINCTRL_SIRF
  192. bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
  193. depends on ARCH_SIRF
  194. select PINMUX
  195. select GPIOLIB_IRQCHIP
  196. config PINCTRL_ST
  197. bool
  198. depends on OF
  199. select PINMUX
  200. select PINCONF
  201. select GPIOLIB_IRQCHIP
  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_TEGRA124
  216. bool
  217. select PINCTRL_TEGRA
  218. config PINCTRL_TEGRA_XUSB
  219. def_bool y if ARCH_TEGRA
  220. select GENERIC_PHY
  221. select PINCONF
  222. select PINMUX
  223. config PINCTRL_TZ1090
  224. bool "Toumaz Xenif TZ1090 pin control driver"
  225. depends on SOC_TZ1090
  226. select PINMUX
  227. select GENERIC_PINCONF
  228. config PINCTRL_TZ1090_PDC
  229. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  230. depends on SOC_TZ1090
  231. select PINMUX
  232. select PINCONF
  233. config PINCTRL_U300
  234. bool "U300 pin controller driver"
  235. depends on ARCH_U300
  236. select PINMUX
  237. select GENERIC_PINCONF
  238. config PINCTRL_COH901
  239. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  240. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  241. select GPIOLIB_IRQCHIP
  242. help
  243. Say yes here to support GPIO interface on ST-Ericsson U300.
  244. The names of the two IP block variants supported are
  245. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  246. ports of 8 GPIO pins each.
  247. config PINCTRL_PALMAS
  248. bool "Pinctrl driver for the PALMAS Series MFD devices"
  249. depends on OF && MFD_PALMAS
  250. select PINMUX
  251. select GENERIC_PINCONF
  252. help
  253. Palmas device supports the configuration of pins for different
  254. functionality. This driver supports the pinmux, push-pull and
  255. open drain configuration for the Palmas series devices like
  256. TPS65913, TPS80036 etc.
  257. source "drivers/pinctrl/berlin/Kconfig"
  258. source "drivers/pinctrl/mvebu/Kconfig"
  259. source "drivers/pinctrl/nomadik/Kconfig"
  260. source "drivers/pinctrl/qcom/Kconfig"
  261. source "drivers/pinctrl/samsung/Kconfig"
  262. source "drivers/pinctrl/sh-pfc/Kconfig"
  263. source "drivers/pinctrl/spear/Kconfig"
  264. source "drivers/pinctrl/sunxi/Kconfig"
  265. source "drivers/pinctrl/vt8500/Kconfig"
  266. config PINCTRL_XWAY
  267. bool
  268. depends on SOC_TYPE_XWAY
  269. depends on PINCTRL_LANTIQ
  270. config PINCTRL_TB10X
  271. bool
  272. depends on ARC_PLAT_TB10X
  273. endmenu
  274. endif