blob: a2df1ad03463413f38a126a21b2ddb5661b6b5d7 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Rafał Miłecki8369ae32011-05-09 18:56:46 +02002config BCMA_POSSIBLE
3 bool
Rafał Miłecki6029e0c2015-03-05 18:25:12 +01004 depends on HAS_IOMEM && HAS_DMA
Rafał Miłecki8369ae32011-05-09 18:56:46 +02005 default y
6
Vincent Legoll9ca766b2017-04-17 12:07:30 +02007menuconfig BCMA
8 tristate "Broadcom specific AMBA"
Rafał Miłecki8369ae32011-05-09 18:56:46 +02009 depends on BCMA_POSSIBLE
10 help
11 Bus driver for Broadcom specific Advanced Microcontroller Bus
12 Architecture.
13
Rafał Miłecki9d75ef02011-05-20 03:27:06 +020014# Support for Block-I/O. SELECT this from the driver that needs it.
15config BCMA_BLOCKIO
16 bool
17 depends on BCMA
18
Rafał Miłecki8369ae32011-05-09 18:56:46 +020019config 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
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"
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
Hauke Mehrtens21e05342011-07-23 01:20:09 +020039
Rafał Miłecki1ca27602015-03-04 23:07:05 +010040config BCMA_DRIVER_PCI
Rafał Miłecki982a40f2015-03-05 18:25:11 +010041 bool "BCMA Broadcom PCI core driver"
42 depends on BCMA && PCI
Rafał Miłecki1ca27602015-03-04 23:07:05 +010043 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
Rafał Miłecki49280622015-06-07 13:15:31 +020056config 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
Hauke Mehrtens21e05342011-07-23 01:20:09 +020062config BCMA_DRIVER_MIPS
63 bool "BCMA Broadcom MIPS core driver"
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020064 depends on BCMA && MIPS
Hauke Mehrtens21e05342011-07-23 01:20:09 +020065 help
66 Driver for the Broadcom MIPS core attached to Broadcom specific
67 Advanced Microcontroller Bus.
68
69 If unsure, say N
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020070
Rafał Miłeckid6a3b512016-02-12 10:15:44 +010071config BCMA_PFLASH
72 bool
73 depends on BCMA_DRIVER_MIPS
74 default y
75
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020076config BCMA_SFLASH
Rafał Miłecki57d8f7d2016-07-18 12:34:14 +020077 bool "ChipCommon-attached serial flash support"
78 depends on BCMA_HOST_SOC
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020079 default y
Rafał Miłecki57d8f7d2016-07-18 12:34:14 +020080 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.
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020087
88config BCMA_NFLASH
89 bool
Rafał Miłecki371a0042012-08-12 13:08:05 +020090 depends on BCMA_DRIVER_MIPS
Rafał Miłecki23cb3b22012-07-17 16:26:41 +020091 default y
92
Rafał Miłeckie1ac4b42012-07-11 09:23:43 +020093config 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
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +0000102config BCMA_DRIVER_GPIO
103 bool "BCMA GPIO driver"
Geert Uytterhoevena7333112012-12-16 16:35:35 +0100104 depends on BCMA && GPIOLIB
Linus Walleij74f4e0c2015-08-14 00:21:45 +0200105 select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
Hauke Mehrtenscf0936b2012-11-20 22:24:30 +0000106 help
107 Driver to provide access to the GPIO pins of the bcma bus.
108
109 If unsure, say N
110
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200111config 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