Kconfig 7.2 KB

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