xref: /linux/drivers/bcma/Kconfig (revision 6f52b16c5b29b89d92c0e7236f4655dc8491ad70)
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
14# Support for Block-I/O. SELECT this from the driver that needs it.
15config BCMA_BLOCKIO
16	bool
17	depends on BCMA
18
19config BCMA_HOST_PCI_POSSIBLE
20	bool
21	depends on BCMA && PCI = y
22	default y
23
24config BCMA_HOST_PCI
25	bool "Support for BCMA on PCI-host bus"
26	depends on BCMA_HOST_PCI_POSSIBLE
27	select BCMA_DRIVER_PCI
28	default y
29
30config BCMA_HOST_SOC
31	bool "Support for BCMA in a SoC"
32	depends on BCMA
33	help
34	  Host interface for a Broadcom AIX bus directly mapped into
35	  the memory. This only works with the Broadcom SoCs from the
36	  BCM47XX line.
37
38	  If unsure, say N
39
40config BCMA_DRIVER_PCI
41	bool "BCMA Broadcom PCI core driver"
42	depends on BCMA && PCI
43	default y
44	help
45	  BCMA bus may have many versions of PCIe core. This driver
46	  supports:
47	  1) PCIe core working in clientmode
48	  2) PCIe Gen 2 clientmode core
49
50	  In general PCIe (Gen 2) clientmode core is required on PCIe
51	  hosted buses. It's responsible for initialization and basic
52	  hardware management.
53	  This driver is also prerequisite for a hostmode PCIe core
54	  support.
55
56config BCMA_DRIVER_PCI_HOSTMODE
57	bool "Driver for PCI core working in hostmode"
58	depends on BCMA && MIPS && BCMA_DRIVER_PCI
59	help
60	  PCI core hostmode operation (external PCI bus).
61
62config BCMA_DRIVER_MIPS
63	bool "BCMA Broadcom MIPS core driver"
64	depends on BCMA && MIPS
65	help
66	  Driver for the Broadcom MIPS core attached to Broadcom specific
67	  Advanced Microcontroller Bus.
68
69	  If unsure, say N
70
71config BCMA_PFLASH
72	bool
73	depends on BCMA_DRIVER_MIPS
74	default y
75
76config BCMA_SFLASH
77	bool "ChipCommon-attached serial flash support"
78	depends on BCMA_HOST_SOC
79	default y
80	help
81	  Some cheap devices have serial flash connected to the ChipCommon
82	  instead of independent SPI controller. It requires using a separated
83	  driver that implements ChipCommon specific interface communication.
84
85	  Enabling this symbol will let bcma recognize serial flash and register
86	  it as platform device.
87
88config BCMA_NFLASH
89	bool
90	depends on BCMA_DRIVER_MIPS
91	default y
92
93config BCMA_DRIVER_GMAC_CMN
94	bool "BCMA Broadcom GBIT MAC COMMON core driver"
95	depends on BCMA
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 BCMA && 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	depends on BCMA
114	help
115	  This turns on additional debugging messages.
116
117	  If unsure, say N
118