Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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. bool "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_DIGICOLOR
  82. bool
  83. depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
  84. select PINMUX
  85. select GENERIC_PINCONF
  86. config PINCTRL_LANTIQ
  87. bool
  88. depends on LANTIQ
  89. select PINMUX
  90. select PINCONF
  91. config PINCTRL_LPC18XX
  92. bool "NXP LPC18XX/43XX SCU pinctrl driver"
  93. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  94. default ARCH_LPC18XX
  95. select PINMUX
  96. select GENERIC_PINCONF
  97. help
  98. Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
  99. config PINCTRL_FALCON
  100. bool
  101. depends on SOC_FALCON
  102. depends on PINCTRL_LANTIQ
  103. config PINCTRL_MESON
  104. bool
  105. depends on OF
  106. select PINMUX
  107. select PINCONF
  108. select GENERIC_PINCONF
  109. select GPIOLIB
  110. select OF_GPIO
  111. select REGMAP_MMIO
  112. config PINCTRL_ROCKCHIP
  113. bool
  114. select PINMUX
  115. select GENERIC_PINCONF
  116. select GENERIC_IRQ_CHIP
  117. select MFD_SYSCON
  118. config PINCTRL_SINGLE
  119. tristate "One-register-per-pin type device tree based pinctrl driver"
  120. depends on OF
  121. select PINMUX
  122. select PINCONF
  123. select GENERIC_PINCONF
  124. help
  125. This selects the device tree based generic pinctrl driver.
  126. config PINCTRL_SIRF
  127. bool "CSR SiRFprimaII pin controller driver"
  128. depends on ARCH_SIRF
  129. select PINMUX
  130. select PINCONF
  131. select GENERIC_PINCONF
  132. select GPIOLIB_IRQCHIP
  133. config PINCTRL_PISTACHIO
  134. def_bool y if MACH_PISTACHIO
  135. depends on GPIOLIB
  136. select PINMUX
  137. select GENERIC_PINCONF
  138. select GPIOLIB_IRQCHIP
  139. select OF_GPIO
  140. config PINCTRL_ST
  141. bool
  142. depends on OF
  143. select PINMUX
  144. select PINCONF
  145. select GPIOLIB_IRQCHIP
  146. config PINCTRL_TZ1090
  147. bool "Toumaz Xenif TZ1090 pin control driver"
  148. depends on SOC_TZ1090
  149. select PINMUX
  150. select GENERIC_PINCONF
  151. config PINCTRL_TZ1090_PDC
  152. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  153. depends on SOC_TZ1090
  154. select PINMUX
  155. select PINCONF
  156. config PINCTRL_U300
  157. bool "U300 pin controller driver"
  158. depends on ARCH_U300
  159. select PINMUX
  160. select GENERIC_PINCONF
  161. config PINCTRL_COH901
  162. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  163. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  164. select GPIOLIB_IRQCHIP
  165. help
  166. Say yes here to support GPIO interface on ST-Ericsson U300.
  167. The names of the two IP block variants supported are
  168. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  169. ports of 8 GPIO pins each.
  170. config PINCTRL_PALMAS
  171. bool "Pinctrl driver for the PALMAS Series MFD devices"
  172. depends on OF && MFD_PALMAS
  173. select PINMUX
  174. select GENERIC_PINCONF
  175. help
  176. Palmas device supports the configuration of pins for different
  177. functionality. This driver supports the pinmux, push-pull and
  178. open drain configuration for the Palmas series devices like
  179. TPS65913, TPS80036 etc.
  180. config PINCTRL_PIC32
  181. bool "Microchip PIC32 pin controller driver"
  182. depends on OF
  183. depends on MACH_PIC32
  184. select PINMUX
  185. select GENERIC_PINCONF
  186. select GPIOLIB_IRQCHIP
  187. select OF_GPIO
  188. help
  189. This is the pin controller and gpio driver for Microchip PIC32
  190. microcontrollers. This option is selected automatically when specific
  191. machine and arch are selected to build.
  192. config PINCTRL_PIC32MZDA
  193. def_bool y if PIC32MZDA
  194. select PINCTRL_PIC32
  195. config PINCTRL_ZYNQ
  196. bool "Pinctrl driver for Xilinx Zynq"
  197. depends on ARCH_ZYNQ
  198. select PINMUX
  199. select GENERIC_PINCONF
  200. help
  201. This selects the pinctrl driver for Xilinx Zynq.
  202. source "drivers/pinctrl/bcm/Kconfig"
  203. source "drivers/pinctrl/berlin/Kconfig"
  204. source "drivers/pinctrl/freescale/Kconfig"
  205. source "drivers/pinctrl/intel/Kconfig"
  206. source "drivers/pinctrl/mvebu/Kconfig"
  207. source "drivers/pinctrl/nomadik/Kconfig"
  208. source "drivers/pinctrl/pxa/Kconfig"
  209. source "drivers/pinctrl/qcom/Kconfig"
  210. source "drivers/pinctrl/samsung/Kconfig"
  211. source "drivers/pinctrl/sh-pfc/Kconfig"
  212. source "drivers/pinctrl/spear/Kconfig"
  213. source "drivers/pinctrl/stm32/Kconfig"
  214. source "drivers/pinctrl/sunxi/Kconfig"
  215. source "drivers/pinctrl/tegra/Kconfig"
  216. source "drivers/pinctrl/uniphier/Kconfig"
  217. source "drivers/pinctrl/vt8500/Kconfig"
  218. source "drivers/pinctrl/mediatek/Kconfig"
  219. config PINCTRL_XWAY
  220. bool
  221. depends on SOC_TYPE_XWAY
  222. depends on PINCTRL_LANTIQ
  223. config PINCTRL_TB10X
  224. bool
  225. depends on OF && ARC_PLAT_TB10X
  226. select GPIOLIB
  227. endmenu