Linux Audio

Check our new training course

Loading...
v5.9
  1# SPDX-License-Identifier: GPL-2.0
  2config BCMA_POSSIBLE
  3	bool
  4	depends on HAS_IOMEM && HAS_DMA
  5	default y
  6
  7menuconfig BCMA
  8	tristate "Broadcom specific AMBA"
 
 
 
  9	depends on BCMA_POSSIBLE
 10	help
 11	  Bus driver for Broadcom specific Advanced Microcontroller Bus
 12	  Architecture.
 13
 14if BCMA
 15
 16# Support for Block-I/O. SELECT this from the driver that needs it.
 17config BCMA_BLOCKIO
 18	bool
 
 19
 20config BCMA_HOST_PCI_POSSIBLE
 21	bool
 22	depends on PCI = y
 23	default y
 24
 25config BCMA_HOST_PCI
 26	bool "Support for BCMA on PCI-host bus"
 27	depends on BCMA_HOST_PCI_POSSIBLE
 28	select BCMA_DRIVER_PCI
 29	default y
 30
 31config BCMA_HOST_SOC
 32	bool "Support for BCMA in a SoC"
 33	depends on HAS_IOMEM
 34	help
 35	  Host interface for a Broadcom AIX bus directly mapped into
 36	  the memory. This only works with the Broadcom SoCs from the
 37	  BCM47XX line.
 38
 39	  If unsure, say N
 40
 41config BCMA_DRIVER_PCI
 42	bool "BCMA Broadcom PCI core driver"
 43	depends on PCI
 44	default y
 45	help
 46	  BCMA bus may have many versions of PCIe core. This driver
 47	  supports:
 48	  1) PCIe core working in clientmode
 49	  2) PCIe Gen 2 clientmode core
 50
 51	  In general PCIe (Gen 2) clientmode core is required on PCIe
 52	  hosted buses. It's responsible for initialization and basic
 53	  hardware management.
 54	  This driver is also prerequisite for a hostmode PCIe core
 55	  support.
 56
 57config BCMA_DRIVER_PCI_HOSTMODE
 58	bool "Driver for PCI core working in hostmode"
 59	depends on MIPS && BCMA_DRIVER_PCI && PCI_DRIVERS_LEGACY && BCMA = y
 60	help
 61	  PCI core hostmode operation (external PCI bus).
 62
 63config BCMA_DRIVER_MIPS
 64	bool "BCMA Broadcom MIPS core driver"
 65	depends on MIPS || COMPILE_TEST
 66	help
 67	  Driver for the Broadcom MIPS core attached to Broadcom specific
 68	  Advanced Microcontroller Bus.
 69
 70	  If unsure, say N
 71
 72config BCMA_PFLASH
 73	bool
 74	depends on BCMA_DRIVER_MIPS
 75	default y
 76
 77config BCMA_SFLASH
 78	bool "ChipCommon-attached serial flash support"
 79	depends on BCMA_HOST_SOC
 80	default y
 81	help
 82	  Some cheap devices have serial flash connected to the ChipCommon
 83	  instead of independent SPI controller. It requires using a separated
 84	  driver that implements ChipCommon specific interface communication.
 85
 86	  Enabling this symbol will let bcma recognize serial flash and register
 87	  it as platform device.
 88
 89config BCMA_NFLASH
 90	bool
 91	depends on BCMA_DRIVER_MIPS
 92	default y
 93
 94config BCMA_DRIVER_GMAC_CMN
 95	bool "BCMA Broadcom GBIT MAC COMMON core driver"
 
 96	help
 97	  Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
 98	  specific Advanced Microcontroller Bus.
 99
100	  If unsure, say N
101
102config BCMA_DRIVER_GPIO
103	bool "BCMA GPIO driver"
104	depends on GPIOLIB
105	select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
106	help
107	  Driver to provide access to the GPIO pins of the bcma bus.
108
109	  If unsure, say N
110
111config BCMA_DEBUG
112	bool "BCMA debugging"
 
113	help
114	  This turns on additional debugging messages.
115
116	  If unsure, say N
117
118endif # BCMA
v4.6
 
  1config BCMA_POSSIBLE
  2	bool
  3	depends on HAS_IOMEM && HAS_DMA
  4	default y
  5
  6menu "Broadcom specific AMBA"
  7	depends on BCMA_POSSIBLE
  8
  9config BCMA
 10	tristate "BCMA support"
 11	depends on BCMA_POSSIBLE
 12	help
 13	  Bus driver for Broadcom specific Advanced Microcontroller Bus
 14	  Architecture.
 15
 
 
 16# Support for Block-I/O. SELECT this from the driver that needs it.
 17config BCMA_BLOCKIO
 18	bool
 19	depends on BCMA
 20
 21config BCMA_HOST_PCI_POSSIBLE
 22	bool
 23	depends on BCMA && PCI = y
 24	default y
 25
 26config BCMA_HOST_PCI
 27	bool "Support for BCMA on PCI-host bus"
 28	depends on BCMA_HOST_PCI_POSSIBLE
 29	select BCMA_DRIVER_PCI
 30	default y
 31
 32config BCMA_HOST_SOC
 33	bool "Support for BCMA in a SoC"
 34	depends on BCMA
 35	help
 36	  Host interface for a Broadcom AIX bus directly mapped into
 37	  the memory. This only works with the Broadcom SoCs from the
 38	  BCM47XX line.
 39
 40	  If unsure, say N
 41
 42config BCMA_DRIVER_PCI
 43	bool "BCMA Broadcom PCI core driver"
 44	depends on BCMA && PCI
 45	default y
 46	help
 47	  BCMA bus may have many versions of PCIe core. This driver
 48	  supports:
 49	  1) PCIe core working in clientmode
 50	  2) PCIe Gen 2 clientmode core
 51
 52	  In general PCIe (Gen 2) clientmode core is required on PCIe
 53	  hosted buses. It's responsible for initialization and basic
 54	  hardware management.
 55	  This driver is also prerequisite for a hostmode PCIe core
 56	  support.
 57
 58config BCMA_DRIVER_PCI_HOSTMODE
 59	bool "Driver for PCI core working in hostmode"
 60	depends on BCMA && MIPS && BCMA_DRIVER_PCI
 61	help
 62	  PCI core hostmode operation (external PCI bus).
 63
 64config BCMA_DRIVER_MIPS
 65	bool "BCMA Broadcom MIPS core driver"
 66	depends on BCMA && MIPS
 67	help
 68	  Driver for the Broadcom MIPS core attached to Broadcom specific
 69	  Advanced Microcontroller Bus.
 70
 71	  If unsure, say N
 72
 73config BCMA_PFLASH
 74	bool
 75	depends on BCMA_DRIVER_MIPS
 76	default y
 77
 78config BCMA_SFLASH
 79	bool
 80	depends on BCMA_DRIVER_MIPS
 81	default y
 
 
 
 
 
 
 
 82
 83config BCMA_NFLASH
 84	bool
 85	depends on BCMA_DRIVER_MIPS
 86	default y
 87
 88config BCMA_DRIVER_GMAC_CMN
 89	bool "BCMA Broadcom GBIT MAC COMMON core driver"
 90	depends on BCMA
 91	help
 92	  Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
 93	  specific Advanced Microcontroller Bus.
 94
 95	  If unsure, say N
 96
 97config BCMA_DRIVER_GPIO
 98	bool "BCMA GPIO driver"
 99	depends on BCMA && GPIOLIB
100	select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
101	help
102	  Driver to provide access to the GPIO pins of the bcma bus.
103
104	  If unsure, say N
105
106config BCMA_DEBUG
107	bool "BCMA debugging"
108	depends on BCMA
109	help
110	  This turns on additional debugging messages.
111
112	  If unsure, say N
113
114endmenu