Kconfig 4.8 KB

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