Kconfig 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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_LANTIQ
  71. bool
  72. depends on LANTIQ
  73. select PINMUX
  74. select PINCONF
  75. config PINCTRL_FALCON
  76. bool
  77. depends on SOC_FALCON
  78. depends on PINCTRL_LANTIQ
  79. config PINCTRL_MESON
  80. bool
  81. depends on OF
  82. select PINMUX
  83. select PINCONF
  84. select GENERIC_PINCONF
  85. select GPIOLIB
  86. select OF_GPIO
  87. select REGMAP_MMIO
  88. config PINCTRL_ROCKCHIP
  89. bool
  90. select PINMUX
  91. select GENERIC_PINCONF
  92. select GENERIC_IRQ_CHIP
  93. select MFD_SYSCON
  94. config PINCTRL_SINGLE
  95. tristate "One-register-per-pin type device tree based pinctrl driver"
  96. depends on OF
  97. select PINMUX
  98. select PINCONF
  99. select GENERIC_PINCONF
  100. help
  101. This selects the device tree based generic pinctrl driver.
  102. config PINCTRL_SIRF
  103. bool "CSR SiRFprimaII pin controller driver"
  104. depends on ARCH_SIRF
  105. select PINMUX
  106. select GPIOLIB_IRQCHIP
  107. config PINCTRL_ST
  108. bool
  109. depends on OF
  110. select PINMUX
  111. select PINCONF
  112. select GPIOLIB_IRQCHIP
  113. config PINCTRL_TEGRA
  114. bool
  115. select PINMUX
  116. select PINCONF
  117. config PINCTRL_TEGRA20
  118. bool
  119. select PINCTRL_TEGRA
  120. config PINCTRL_TEGRA30
  121. bool
  122. select PINCTRL_TEGRA
  123. config PINCTRL_TEGRA114
  124. bool
  125. select PINCTRL_TEGRA
  126. config PINCTRL_TEGRA124
  127. bool
  128. select PINCTRL_TEGRA
  129. config PINCTRL_TEGRA210
  130. bool
  131. select PINCTRL_TEGRA
  132. config PINCTRL_TEGRA_XUSB
  133. def_bool y if ARCH_TEGRA
  134. select GENERIC_PHY
  135. select PINCONF
  136. select PINMUX
  137. config PINCTRL_TZ1090
  138. bool "Toumaz Xenif TZ1090 pin control driver"
  139. depends on SOC_TZ1090
  140. select PINMUX
  141. select GENERIC_PINCONF
  142. config PINCTRL_TZ1090_PDC
  143. bool "Toumaz Xenif TZ1090 PDC pin control driver"
  144. depends on SOC_TZ1090
  145. select PINMUX
  146. select PINCONF
  147. config PINCTRL_U300
  148. bool "U300 pin controller driver"
  149. depends on ARCH_U300
  150. select PINMUX
  151. select GENERIC_PINCONF
  152. config PINCTRL_COH901
  153. bool "ST-Ericsson U300 COH 901 335/571 GPIO"
  154. depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
  155. select GPIOLIB_IRQCHIP
  156. help
  157. Say yes here to support GPIO interface on ST-Ericsson U300.
  158. The names of the two IP block variants supported are
  159. COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
  160. ports of 8 GPIO pins each.
  161. config PINCTRL_PALMAS
  162. bool "Pinctrl driver for the PALMAS Series MFD devices"
  163. depends on OF && MFD_PALMAS
  164. select PINMUX
  165. select GENERIC_PINCONF
  166. help
  167. Palmas device supports the configuration of pins for different
  168. functionality. This driver supports the pinmux, push-pull and
  169. open drain configuration for the Palmas series devices like
  170. TPS65913, TPS80036 etc.
  171. config PINCTRL_ZYNQ
  172. bool "Pinctrl driver for Xilinx Zynq"
  173. depends on ARCH_ZYNQ
  174. select PINMUX
  175. select GENERIC_PINCONF
  176. help
  177. This selectes the pinctrl driver for Xilinx Zynq.
  178. source "drivers/pinctrl/bcm/Kconfig"
  179. source "drivers/pinctrl/berlin/Kconfig"
  180. source "drivers/pinctrl/freescale/Kconfig"
  181. source "drivers/pinctrl/intel/Kconfig"
  182. source "drivers/pinctrl/mvebu/Kconfig"
  183. source "drivers/pinctrl/nomadik/Kconfig"
  184. source "drivers/pinctrl/qcom/Kconfig"
  185. source "drivers/pinctrl/samsung/Kconfig"
  186. source "drivers/pinctrl/sh-pfc/Kconfig"
  187. source "drivers/pinctrl/spear/Kconfig"
  188. source "drivers/pinctrl/sunxi/Kconfig"
  189. source "drivers/pinctrl/vt8500/Kconfig"
  190. source "drivers/pinctrl/mediatek/Kconfig"
  191. config PINCTRL_XWAY
  192. bool
  193. depends on SOC_TYPE_XWAY
  194. depends on PINCTRL_LANTIQ
  195. config PINCTRL_TB10X
  196. bool
  197. depends on OF && ARC_PLAT_TB10X
  198. select GPIOLIB
  199. endmenu
  200. endif