blob: 023d448ed3fa6047549d635fade7fb26205a8633 [file] [log] [blame]
Rafał Miłecki8369ae32011-05-09 18:56:46 +02001config BCMA_POSSIBLE
2 bool
Rafał Miłecki6029e0c2015-03-05 18:25:12 +01003 depends on HAS_IOMEM && HAS_DMA
Rafał Miłecki8369ae32011-05-09 18:56:46 +02004 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
Rafał Miłecki9d75ef02011-05-20 03:27:06 +020016# Support for Block-I/O. SELECT this from the driver that needs it.
17config BCMA_BLOCKIO
18 bool
19 depends on BCMA
20
Rafał Miłecki8369ae32011-05-09 18:56:46 +020021config 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
Rafał Miłecki1ca27602015-03-04 23:07:05 +010029 select BCMA_DRIVER_PCI
Hauke Mehrtensd1868992013-06-09 18:59:42 +020030 default y
Rafał Miłecki8369ae32011-05-09 18:56:46 +020031
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020032config BCMA_HOST_SOC
Hauke Mehrtens6ffdead2013-07-15 13:15:05 +020033 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
Hauke Mehrtens21e05342011-07-23 01:20:09 +020041
Rafał Miłecki1ca27602015-03-04 23:07:05 +010042config BCMA_DRIVER_PCI
Rafał Miłecki982a40f2015-03-05 18:25:11 +010043 bool "BCMA Broadcom PCI core driver"
44 depends on BCMA && PCI
Rafał Miłecki1ca27602015-03-04 23:07:05 +010045 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
Rafał Miłecki49280622015-06-07 13:15:31 +020058config 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
Hauke Mehrtens21e05342011-07-23 01:20:09 +020064config BCMA_DRIVER_MIPS
65 bool "BCMA Broadcom MIPS core driver"
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020066 depends on BCMA && MIPS
Hauke Mehrtens21e05342011-07-23 01:20:09 +020067 help
68 Driver for the Broadcom MIPS core attached to Broadcom specific
69 Advanced Microcontroller Bus.
70
71 If unsure, say N
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020072
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020073config BCMA_SFLASH
74 bool
Rafał Miłeckid57ef3a2012-08-10 21:23:53 +020075 depends on BCMA_DRIVER_MIPS
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020076 default y
77
78config BCMA_NFLASH
79 bool
Rafał Miłecki371a0042012-08-12 13:08:05 +020080 depends on BCMA_DRIVER_MIPS
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020081 default y
82
Rafał Miłeckie1ac4b42012-07-11 09:23:43 +020083config BCMA_DRIVER_GMAC_CMN
84 bool "BCMA Broadcom GBIT MAC COMMON core driver"
85 depends on BCMA
86 help
87 Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
88 specific Advanced Microcontroller Bus.
89
90 If unsure, say N
91
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +000092config BCMA_DRIVER_GPIO
93 bool "BCMA GPIO driver"
Geert Uytterhoevena7333112012-12-16 16:35:35 +010094 depends on BCMA && GPIOLIB
Linus Walleij74f4e0c2015-08-14 00:21:45 +020095 select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +000096 help
97 Driver to provide access to the GPIO pins of the bcma bus.
98
99 If unsure, say N
100
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200101config BCMA_DEBUG
102 bool "BCMA debugging"
103 depends on BCMA
104 help
105 This turns on additional debugging messages.
106
107 If unsure, say N
108
109endmenu