Kconfig 3.7 KB

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