Kconfig 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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 (BF54x || BF60x)
  23. depends on !GPIO_ADI
  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_AT91PIO4
  58. bool "AT91 PIO4 pinctrl driver"
  59. depends on OF
  60. depends on ARCH_AT91
  61. select PINMUX
  62. select GENERIC_PINCONF
  63. select GPIOLIB
  64. select GPIOLIB_IRQCHIP
  65. select OF_GPIO
  66. help
  67. Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
  68. controller available on sama5d2 SoC.
  69. config PINCTRL_AMD
  70. bool "AMD GPIO pin control"
  71. depends on GPIOLIB
  72. select GPIOLIB_IRQCHIP
  73. select PINCONF
  74. select GENERIC_PINCONF
  75. help
  76. driver for memory mapped GPIO functionality on AMD platforms
  77. (x86 or arm).Most pins are usually muxed to some other
  78. functionality by firmware,so only a small amount is available
  79. for gpio use.
  80. Requires ACPI/FDT device enumeration code to set up a platform
  81. device.
  82. config PINCTRL_DIGICOLOR
  83. bool
  84. depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
  85. select PINMUX
  86. select GENERIC_PINCONF
  87. config PINCTRL_LANTIQ
  88. bool
  89. depends on LANTIQ
  90. select PINMUX
  91. select PINCONF
  92. config PINCTRL_LPC18XX
  93. bool "NXP LPC18XX/43XX SCU pinctrl driver"
  94. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  95. default ARCH_LPC18XX
  96. select PINMUX
  97. select GENERIC_PINCONF
  98. help
  99. Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
  100. config PINCTRL_FALCON
  101. bool
  102. depends on SOC_FALCON
  103. depends on PINCTRL_LANTIQ
  104. config PINCTRL_MESON
  105. bool
  106. depends on OF
  107. select PINMUX
  108. select PINCONF
  109. select GENERIC_PINCONF
  110. select GPIOLIB
  111. select OF_GPIO
  112. select REGMAP_MMIO
  113. config PINCTRL_ROCKCHIP
  114. bool
  115. select PINMUX
  116. select GENERIC_PINCONF
  117. select GENERIC_IRQ_CHIP
  118. select MFD_SYSCON
  119. config PINCTRL_SINGLE
  120. tristate "One-register-per-pin type device tree based pinctrl driver"
  121. depends on OF
  122. select PINMUX
  123. select PINCONF
  124. select GENERIC_PINCONF
  125. help
  126. This selects the device tree based generic pinctrl driver.
  127. config PINCTRL_SIRF
  128. bool "CSR SiRFprimaII pin controller driver"
  129. depends on ARCH_SIRF
  130. select PINMUX
  131. select PINCONF
  132. select GENERIC_PINCONF
  133. select GPIOLIB_IRQCHIP
  134. config PINCTRL_PISTACHIO
  135. def_bool y if MACH_PISTACHIO
  136. depends on GPIOLIB
  137. select PINMUX
  138. select GENERIC_PINCONF
  139. select GPIOLIB_IRQCHIP
  140. select OF_GPIO
  141. config PINCTRL_ST
  142. bool
  143. depends on OF
  144. select PINMUX
  145. select PINCONF
  146. select GPIOLIB_IRQCHIP
  147. config PINCTRL_TEGRA
  148. bool
  149. select PINMUX
  150. select PINCONF
  151. config PINCTRL_TEGRA20
  152. bool
  153. select PINCTRL_TEGRA
  154. config PINCTRL_TEGRA30
  155. bool
  156. select PINCTRL_TEGRA
  157. config PINCTRL_TEGRA114
  158. bool
  159. select PINCTRL_TEGRA
  160. config PINCTRL_TEGRA124
  161. bool
  162. select PINCTRL_TEGRA
  163. config PINCTRL_TEGRA210
  164. bool
  165. select PINCTRL_TEGRA
  166. config PINCTRL_TEGRA_XUSB
  167. def_bool y if ARCH_TEGRA
  168. select GENERIC_PHY
  169. select PINCONF
  170. select PINMUX
  171. config PINCTRL_TZ1090
  172. bool "Toumaz Xenif TZ1090 pin control driver"
  173. depends on SOC_TZ1090
  174. select PINMUX
  175. select GENERIC_PINCONF
  176. config PINCTRL_TZ1090_PDC
  177. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  178. depends on SOC_TZ1090
  179. select PINMUX
  180. select PINCONF
  181. config PINCTRL_U300
  182. bool "U300 pin controller driver"
  183. depends on ARCH_U300
  184. select PINMUX
  185. select GENERIC_PINCONF
  186. config PINCTRL_COH901
  187. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  188. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  189. select GPIOLIB_IRQCHIP
  190. help
  191. Say yes here to support GPIO interface on ST-Ericsson U300.
  192. The names of the two IP block variants supported are
  193. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  194. ports of 8 GPIO pins each.
  195. config PINCTRL_PALMAS
  196. bool "Pinctrl driver for the PALMAS Series MFD devices"
  197. depends on OF && MFD_PALMAS
  198. select PINMUX
  199. select GENERIC_PINCONF
  200. help
  201. Palmas device supports the configuration of pins for different
  202. functionality. This driver supports the pinmux, push-pull and
  203. open drain configuration for the Palmas series devices like
  204. TPS65913, TPS80036 etc.
  205. config PINCTRL_ZYNQ
  206. bool "Pinctrl driver for Xilinx Zynq"
  207. depends on ARCH_ZYNQ
  208. select PINMUX
  209. select GENERIC_PINCONF
  210. help
  211. This selectes the pinctrl driver for Xilinx Zynq.
  212. source "drivers/pinctrl/bcm/Kconfig"
  213. source "drivers/pinctrl/berlin/Kconfig"
  214. source "drivers/pinctrl/freescale/Kconfig"
  215. source "drivers/pinctrl/intel/Kconfig"
  216. source "drivers/pinctrl/mvebu/Kconfig"
  217. source "drivers/pinctrl/nomadik/Kconfig"
  218. source "drivers/pinctrl/qcom/Kconfig"
  219. source "drivers/pinctrl/samsung/Kconfig"
  220. source "drivers/pinctrl/sh-pfc/Kconfig"
  221. source "drivers/pinctrl/spear/Kconfig"
  222. source "drivers/pinctrl/sunxi/Kconfig"
  223. source "drivers/pinctrl/uniphier/Kconfig"
  224. source "drivers/pinctrl/vt8500/Kconfig"
  225. source "drivers/pinctrl/mediatek/Kconfig"
  226. config PINCTRL_XWAY
  227. bool
  228. depends on SOC_TYPE_XWAY
  229. depends on PINCTRL_LANTIQ
  230. config PINCTRL_TB10X
  231. bool
  232. depends on OF && ARC_PLAT_TB10X
  233. select GPIOLIB
  234. endmenu