Kconfig 8.0 KB

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