blob: 54f81c554815ce34755ed063f2a4aeb4271dccc6 [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
Vincent Legoll9ca766b2017-04-17 12:07:30 +02006menuconfig BCMA
7 tristate "Broadcom specific AMBA"
Rafał Miłecki8369ae32011-05-09 18:56:46 +02008 depends on BCMA_POSSIBLE
9 help
10 Bus driver for Broadcom specific Advanced Microcontroller Bus
11 Architecture.
12
Rafał Miłecki9d75ef02011-05-20 03:27:06 +020013# Support for Block-I/O. SELECT this from the driver that needs it.
14config BCMA_BLOCKIO
15 bool
16 depends on BCMA
17
Rafał Miłecki8369ae32011-05-09 18:56:46 +020018config BCMA_HOST_PCI_POSSIBLE
19 bool
20 depends on BCMA && PCI = y
21 default y
22
23config BCMA_HOST_PCI
24 bool "Support for BCMA on PCI-host bus"
25 depends on BCMA_HOST_PCI_POSSIBLE
Rafał Miłecki1ca27602015-03-04 23:07:05 +010026 select BCMA_DRIVER_PCI
Hauke Mehrtensd1868992013-06-09 18:59:42 +020027 default y
Rafał Miłecki8369ae32011-05-09 18:56:46 +020028
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020029config BCMA_HOST_SOC
Hauke Mehrtens6ffdead2013-07-15 13:15:05 +020030 bool "Support for BCMA in a SoC"
31 depends on BCMA
32 help
33 Host interface for a Broadcom AIX bus directly mapped into
34 the memory. This only works with the Broadcom SoCs from the
35 BCM47XX line.
36
37 If unsure, say N
Hauke Mehrtens21e05342011-07-23 01:20:09 +020038
Rafał Miłecki1ca27602015-03-04 23:07:05 +010039config BCMA_DRIVER_PCI
Rafał Miłecki982a40f2015-03-05 18:25:11 +010040 bool "BCMA Broadcom PCI core driver"
41 depends on BCMA && PCI
Rafał Miłecki1ca27602015-03-04 23:07:05 +010042 default y
43 help
44 BCMA bus may have many versions of PCIe core. This driver
45 supports:
46 1) PCIe core working in clientmode
47 2) PCIe Gen 2 clientmode core
48
49 In general PCIe (Gen 2) clientmode core is required on PCIe
50 hosted buses. It's responsible for initialization and basic
51 hardware management.
52 This driver is also prerequisite for a hostmode PCIe core
53 support.
54
Rafał Miłecki49280622015-06-07 13:15:31 +020055config BCMA_DRIVER_PCI_HOSTMODE
56 bool "Driver for PCI core working in hostmode"
57 depends on BCMA && MIPS && BCMA_DRIVER_PCI
58 help
59 PCI core hostmode operation (external PCI bus).
60
Hauke Mehrtens21e05342011-07-23 01:20:09 +020061config BCMA_DRIVER_MIPS
62 bool "BCMA Broadcom MIPS core driver"
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020063 depends on BCMA && MIPS
Hauke Mehrtens21e05342011-07-23 01:20:09 +020064 help
65 Driver for the Broadcom MIPS core attached to Broadcom specific
66 Advanced Microcontroller Bus.
67
68 If unsure, say N
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020069
Rafał Miłeckid6a3b512016-02-12 10:15:44 +010070config BCMA_PFLASH
71 bool
72 depends on BCMA_DRIVER_MIPS
73 default y
74
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020075config BCMA_SFLASH
Rafał Miłecki57d8f7d2016-07-18 12:34:14 +020076 bool "ChipCommon-attached serial flash support"
77 depends on BCMA_HOST_SOC
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020078 default y
Rafał Miłecki57d8f7d2016-07-18 12:34:14 +020079 help
80 Some cheap devices have serial flash connected to the ChipCommon
81 instead of independent SPI controller. It requires using a separated
82 driver that implements ChipCommon specific interface communication.
83
84 Enabling this symbol will let bcma recognize serial flash and register
85 it as platform device.
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020086
87config BCMA_NFLASH
88 bool
Rafał Miłecki371a0042012-08-12 13:08:05 +020089 depends on BCMA_DRIVER_MIPS
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020090 default y
91
Rafał Miłeckie1ac4b42012-07-11 09:23:43 +020092config BCMA_DRIVER_GMAC_CMN
93 bool "BCMA Broadcom GBIT MAC COMMON core driver"
94 depends on BCMA
95 help
96 Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
97 specific Advanced Microcontroller Bus.
98
99 If unsure, say N
100
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +0000101config BCMA_DRIVER_GPIO
102 bool "BCMA GPIO driver"
Geert Uytterhoevena7333112012-12-16 16:35:35 +0100103 depends on BCMA && GPIOLIB
Linus Walleij74f4e0c2015-08-14 00:21:45 +0200104 select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +0000105 help
106 Driver to provide access to the GPIO pins of the bcma bus.
107
108 If unsure, say N
109
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200110config BCMA_DEBUG
111 bool "BCMA debugging"
112 depends on BCMA
113 help
114 This turns on additional debugging messages.
115
116 If unsure, say N