Kconfig 5.1 KB

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