Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #
  2. # Broadcom pinctrl drivers
  3. #
  4. config PINCTRL_BCM281XX
  5. bool "Broadcom BCM281xx pinctrl driver"
  6. depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
  7. select PINMUX
  8. select PINCONF
  9. select GENERIC_PINCONF
  10. select REGMAP_MMIO
  11. default ARCH_BCM_MOBILE
  12. help
  13. Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
  14. for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
  15. BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
  16. framework. GPIO is provided by a separate GPIO driver.
  17. config PINCTRL_BCM2835
  18. bool
  19. select PINMUX
  20. select PINCONF
  21. select GENERIC_PINCONF
  22. select GPIOLIB
  23. select GPIOLIB_IRQCHIP
  24. config PINCTRL_IPROC_GPIO
  25. bool "Broadcom iProc GPIO (with PINCONF) driver"
  26. depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST)
  27. select GPIOLIB_IRQCHIP
  28. select PINCONF
  29. select GENERIC_PINCONF
  30. default ARCH_BCM_IPROC
  31. help
  32. Say yes here to enable the Broadcom iProc GPIO driver.
  33. The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use
  34. same GPIO Controller IP hence this driver could be used for all.
  35. The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU
  36. GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and
  37. the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are
  38. supported by this driver.
  39. The Broadcom NSP has two GPIO controllers including the ChipcommonA
  40. GPIO, the ChipcommonB GPIO. Later controller is supported by this
  41. driver.
  42. The Broadcom NS2 has two GPIO controller including the CRMU GPIO,
  43. the ChipcommonG GPIO. Both controllers are supported by this driver.
  44. The Broadcom Stingray GPIO controllers are supported by this driver.
  45. All above SoCs GPIO controllers support basic PINCONF functions such
  46. as bias pull up, pull down, and drive strength configurations, when
  47. these pins are muxed to GPIO.
  48. It provides the framework where pins from the individual GPIO can be
  49. individually muxed to GPIO function, through interaction with the
  50. SoCs IOMUX controller. This features could be used only on SoCs which
  51. support individual pin muxing.
  52. config PINCTRL_CYGNUS_MUX
  53. bool "Broadcom Cygnus IOMUX driver"
  54. depends on (ARCH_BCM_CYGNUS || COMPILE_TEST)
  55. depends on OF
  56. select PINMUX
  57. select GENERIC_PINCONF
  58. default ARCH_BCM_CYGNUS
  59. help
  60. Say yes here to enable the Broadcom Cygnus IOMUX driver.
  61. The Broadcom Cygnus IOMUX driver supports group based IOMUX
  62. configuration, with the exception that certain individual pins
  63. can be overridden to GPIO function
  64. config PINCTRL_NSP_GPIO
  65. bool "Broadcom NSP GPIO (with PINCONF) driver"
  66. depends on OF_GPIO && (ARCH_BCM_NSP || COMPILE_TEST)
  67. select GPIOLIB_IRQCHIP
  68. select PINCONF
  69. select GENERIC_PINCONF
  70. default ARCH_BCM_NSP
  71. help
  72. Say yes here to enable the Broadcom NSP GPIO driver.
  73. The Broadcom Northstar Plus SoC ChipcommonA GPIO controller is
  74. supported by this driver.
  75. The ChipcommonA GPIO controller support basic PINCONF functions such
  76. as bias pull up, pull down, and drive strength configurations, when
  77. these pins are muxed to GPIO.
  78. config PINCTRL_NS2_MUX
  79. bool "Broadcom Northstar2 pinmux driver"
  80. depends on OF
  81. depends on ARCH_BCM_IPROC || COMPILE_TEST
  82. select PINMUX
  83. select GENERIC_PINCONF
  84. default ARM64 && ARCH_BCM_IPROC
  85. help
  86. Say yes here to enable the Broadcom NS2 MUX driver.
  87. The Broadcom Northstar2 IOMUX driver supports group based IOMUX
  88. configuration.
  89. config PINCTRL_NSP_MUX
  90. bool "Broadcom NSP IOMUX driver"
  91. depends on (ARCH_BCM_NSP || COMPILE_TEST)
  92. depends on OF
  93. select PINMUX
  94. select GENERIC_PINCONF
  95. default ARCH_BCM_NSP
  96. help
  97. Say yes here to enable the Broadcom NSP SOC IOMUX driver.
  98. The Broadcom Northstar Plus IOMUX driver supports pin based IOMUX
  99. configuration, with certain individual pins can be overridden
  100. to GPIO function.