blob: 56ee55b66dfe5d9d03c2b747b66b3842c371589e [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
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070013if BCMA
14
Rafał Miłecki9d75ef02011-05-20 03:27:06 +020015# Support for Block-I/O. SELECT this from the driver that needs it.
16config BCMA_BLOCKIO
17 bool
Rafał Miłecki9d75ef02011-05-20 03:27:06 +020018
Rafał Miłecki8369ae32011-05-09 18:56:46 +020019config BCMA_HOST_PCI_POSSIBLE
20 bool
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070021 depends on PCI = y
Rafał Miłecki8369ae32011-05-09 18:56:46 +020022 default y
23
24config BCMA_HOST_PCI
25 bool "Support for BCMA on PCI-host bus"
26 depends on BCMA_HOST_PCI_POSSIBLE
Rafał Miłecki1ca27602015-03-04 23:07:05 +010027 select BCMA_DRIVER_PCI
Hauke Mehrtensd1868992013-06-09 18:59:42 +020028 default y
Rafał Miłecki8369ae32011-05-09 18:56:46 +020029
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020030config BCMA_HOST_SOC
Hauke Mehrtens6ffdead2013-07-15 13:15:05 +020031 bool "Support for BCMA in a SoC"
Hauke Mehrtens6ffdead2013-07-15 13:15:05 +020032 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070041 depends on 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070057 depends on MIPS && BCMA_DRIVER_PCI
Rafał Miłecki49280622015-06-07 13:15:31 +020058 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070063 depends on 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"
Rafał Miłeckie1ac4b42012-07-11 09:23:43 +020094 help
95 Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
96 specific Advanced Microcontroller Bus.
97
98 If unsure, say N
99
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +0000100config BCMA_DRIVER_GPIO
101 bool "BCMA GPIO driver"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -0700102 depends on GPIOLIB
Linus Walleij74f4e0c2015-08-14 00:21:45 +0200103 select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +0000104 help
105 Driver to provide access to the GPIO pins of the bcma bus.
106
107 If unsure, say N
108
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200109config BCMA_DEBUG
110 bool "BCMA debugging"
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200111 help
112 This turns on additional debugging messages.
113
114 If unsure, say N
Randy Dunlap0f0a0af2017-09-27 13:01:49 -0700115
116endif # BCMA