Kconfig 5.2 KB

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