Kconfig 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. #
  2. # PINCTRL infrastructure and drivers
  3. #
  4. config PINCTRL
  5. bool
  6. menu "Pin controllers"
  7. depends on PINCTRL
  8. config PINMUX
  9. bool "Support pin multiplexing controllers" if COMPILE_TEST
  10. config PINCONF
  11. bool "Support pin configuration controllers" if COMPILE_TEST
  12. config GENERIC_PINCONF
  13. bool
  14. select PINCONF
  15. config DEBUG_PINCTRL
  16. bool "Debug PINCTRL calls"
  17. depends on DEBUG_KERNEL
  18. help
  19. Say Y here to add some extra checks and diagnostics to PINCTRL calls.
  20. config PINCTRL_ADI2
  21. bool "ADI pin controller driver"
  22. depends on BLACKFIN
  23. select PINMUX
  24. select IRQ_DOMAIN
  25. help
  26. This is the pin controller and gpio driver for ADI BF54x, BF60x and
  27. future processors. This option is selected automatically when specific
  28. machine and arch are selected to build.
  29. config PINCTRL_AS3722
  30. tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
  31. depends on MFD_AS3722 && GPIOLIB
  32. select PINMUX
  33. select GENERIC_PINCONF
  34. help
  35. AS3722 device supports the configuration of GPIO pins for different
  36. functionality. This driver supports the pinmux, push-pull and
  37. open drain configuration for the GPIO pins of AS3722 devices. It also
  38. supports the GPIO functionality through gpiolib.
  39. config PINCTRL_BF54x
  40. def_bool y if BF54x
  41. select PINCTRL_ADI2
  42. config PINCTRL_BF60x
  43. def_bool y if BF60x
  44. select PINCTRL_ADI2
  45. config PINCTRL_AT91
  46. bool "AT91 pinctrl driver"
  47. depends on OF
  48. depends on ARCH_AT91
  49. select PINMUX
  50. select PINCONF
  51. select GPIOLIB
  52. select OF_GPIO
  53. select GPIOLIB_IRQCHIP
  54. help
  55. Say Y here to enable the at91 pinctrl driver
  56. config PINCTRL_AT91PIO4
  57. bool "AT91 PIO4 pinctrl driver"
  58. depends on OF
  59. depends on ARCH_AT91
  60. select PINMUX
  61. select GENERIC_PINCONF
  62. select GPIOLIB
  63. select GPIOLIB_IRQCHIP
  64. select OF_GPIO
  65. help
  66. Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
  67. controller available on sama5d2 SoC.
  68. config PINCTRL_AMD
  69. tristate "AMD GPIO pin control"
  70. depends on GPIOLIB
  71. select GPIOLIB_IRQCHIP
  72. select PINCONF
  73. select GENERIC_PINCONF
  74. help
  75. driver for memory mapped GPIO functionality on AMD platforms
  76. (x86 or arm).Most pins are usually muxed to some other
  77. functionality by firmware,so only a small amount is available
  78. for gpio use.
  79. Requires ACPI/FDT device enumeration code to set up a platform
  80. device.
  81. config PINCTRL_DA850_PUPD
  82. tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
  83. depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
  84. select PINCONF
  85. select GENERIC_PINCONF
  86. help
  87. Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
  88. pullup/pulldown pin groups.
  89. config PINCTRL_DIGICOLOR
  90. bool
  91. depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
  92. select PINMUX
  93. select GENERIC_PINCONF
  94. config PINCTRL_LANTIQ
  95. bool
  96. depends on LANTIQ
  97. select PINMUX
  98. select PINCONF
  99. config PINCTRL_LPC18XX
  100. bool "NXP LPC18XX/43XX SCU pinctrl driver"
  101. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  102. default ARCH_LPC18XX
  103. select PINMUX
  104. select GENERIC_PINCONF
  105. help
  106. Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
  107. config PINCTRL_FALCON
  108. bool
  109. depends on SOC_FALCON
  110. depends on PINCTRL_LANTIQ
  111. config PINCTRL_MESON
  112. bool
  113. depends on OF
  114. select PINMUX
  115. select PINCONF
  116. select GENERIC_PINCONF
  117. select GPIOLIB
  118. select OF_GPIO
  119. select REGMAP_MMIO
  120. config PINCTRL_OXNAS
  121. bool
  122. depends on OF
  123. select PINMUX
  124. select PINCONF
  125. select GENERIC_PINCONF
  126. select GPIOLIB
  127. select OF_GPIO
  128. select GPIOLIB_IRQCHIP
  129. select MFD_SYSCON
  130. config PINCTRL_ROCKCHIP
  131. bool
  132. select PINMUX
  133. select GENERIC_PINCONF
  134. select GENERIC_IRQ_CHIP
  135. select MFD_SYSCON
  136. config PINCTRL_SINGLE
  137. tristate "One-register-per-pin type device tree based pinctrl driver"
  138. depends on OF
  139. select PINMUX
  140. select PINCONF
  141. select GENERIC_PINCONF
  142. help
  143. This selects the device tree based generic pinctrl driver.
  144. config PINCTRL_SIRF
  145. bool "CSR SiRFprimaII pin controller driver"
  146. depends on ARCH_SIRF
  147. select PINMUX
  148. select PINCONF
  149. select GENERIC_PINCONF
  150. select GPIOLIB_IRQCHIP
  151. config PINCTRL_SX150X
  152. bool "Semtech SX150x I2C GPIO expander pinctrl driver"
  153. depends on GPIOLIB && I2C=y
  154. select PINMUX
  155. select PINCONF
  156. select GENERIC_PINCONF
  157. select GPIOLIB_IRQCHIP
  158. select REGMAP
  159. help
  160. Say yes here to provide support for Semtech SX150x-series I2C
  161. GPIO expanders as pinctrl module.
  162. Compatible models include:
  163. - 8 bits: sx1508q, sx1502q
  164. - 16 bits: sx1509q, sx1506q
  165. config PINCTRL_PISTACHIO
  166. def_bool y if MACH_PISTACHIO
  167. depends on GPIOLIB
  168. select PINMUX
  169. select GENERIC_PINCONF
  170. select GPIOLIB_IRQCHIP
  171. select OF_GPIO
  172. config PINCTRL_ST
  173. bool
  174. depends on OF
  175. select PINMUX
  176. select PINCONF
  177. select GPIOLIB_IRQCHIP
  178. config PINCTRL_TZ1090
  179. bool "Toumaz Xenif TZ1090 pin control driver"
  180. depends on SOC_TZ1090
  181. select PINMUX
  182. select GENERIC_PINCONF
  183. config PINCTRL_TZ1090_PDC
  184. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  185. depends on SOC_TZ1090
  186. select PINMUX
  187. select PINCONF
  188. config PINCTRL_U300
  189. bool "U300 pin controller driver"
  190. depends on ARCH_U300
  191. select PINMUX
  192. select GENERIC_PINCONF
  193. config PINCTRL_COH901
  194. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  195. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  196. select GPIOLIB_IRQCHIP
  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_MAX77620
  203. tristate "MAX77620/MAX20024 Pincontrol support"
  204. depends on MFD_MAX77620 && OF
  205. select PINMUX
  206. select GENERIC_PINCONF
  207. help
  208. Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
  209. This PMIC has 8 GPIO pins that work as GPIO as well as special
  210. function in alternate mode. This driver also configure push-pull,
  211. open drain, FPS slots etc.
  212. config PINCTRL_PALMAS
  213. tristate "Pinctrl driver for the PALMAS Series MFD devices"
  214. depends on OF && MFD_PALMAS
  215. select PINMUX
  216. select GENERIC_PINCONF
  217. help
  218. Palmas device supports the configuration of pins for different
  219. functionality. This driver supports the pinmux, push-pull and
  220. open drain configuration for the Palmas series devices like
  221. TPS65913, TPS80036 etc.
  222. config PINCTRL_PIC32
  223. bool "Microchip PIC32 pin controller driver"
  224. depends on OF
  225. depends on MACH_PIC32
  226. select PINMUX
  227. select GENERIC_PINCONF
  228. select GPIOLIB_IRQCHIP
  229. select OF_GPIO
  230. help
  231. This is the pin controller and gpio driver for Microchip PIC32
  232. microcontrollers. This option is selected automatically when specific
  233. machine and arch are selected to build.
  234. config PINCTRL_PIC32MZDA
  235. def_bool y if PIC32MZDA
  236. select PINCTRL_PIC32
  237. config PINCTRL_ZYNQ
  238. bool "Pinctrl driver for Xilinx Zynq"
  239. depends on ARCH_ZYNQ
  240. select PINMUX
  241. select GENERIC_PINCONF
  242. help
  243. This selects the pinctrl driver for Xilinx Zynq.
  244. source "drivers/pinctrl/aspeed/Kconfig"
  245. source "drivers/pinctrl/bcm/Kconfig"
  246. source "drivers/pinctrl/berlin/Kconfig"
  247. source "drivers/pinctrl/freescale/Kconfig"
  248. source "drivers/pinctrl/intel/Kconfig"
  249. source "drivers/pinctrl/mvebu/Kconfig"
  250. source "drivers/pinctrl/nomadik/Kconfig"
  251. source "drivers/pinctrl/pxa/Kconfig"
  252. source "drivers/pinctrl/qcom/Kconfig"
  253. source "drivers/pinctrl/samsung/Kconfig"
  254. source "drivers/pinctrl/sh-pfc/Kconfig"
  255. source "drivers/pinctrl/spear/Kconfig"
  256. source "drivers/pinctrl/stm32/Kconfig"
  257. source "drivers/pinctrl/sunxi/Kconfig"
  258. source "drivers/pinctrl/tegra/Kconfig"
  259. source "drivers/pinctrl/uniphier/Kconfig"
  260. source "drivers/pinctrl/vt8500/Kconfig"
  261. source "drivers/pinctrl/mediatek/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 OF && ARC_PLAT_TB10X
  269. select GPIOLIB
  270. endmenu