Kconfig 5.7 KB

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