blob: 02d78f6cecbb5b9a3e4f72c4315757c3bd879211 [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
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070014if BCMA
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
Rafał Miłecki9d75ef02011-05-20 03:27:06 +020019
Rafał Miłecki8369ae32011-05-09 18:56:46 +020020config BCMA_HOST_PCI_POSSIBLE
21 bool
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070022 depends on PCI = y
Rafał Miłecki8369ae32011-05-09 18:56:46 +020023 default y
24
25config BCMA_HOST_PCI
26 bool "Support for BCMA on PCI-host bus"
27 depends on BCMA_HOST_PCI_POSSIBLE
Rafał Miłecki1ca27602015-03-04 23:07:05 +010028 select BCMA_DRIVER_PCI
Hauke Mehrtensd1868992013-06-09 18:59:42 +020029 default y
Rafał Miłecki8369ae32011-05-09 18:56:46 +020030
Hauke Mehrtensecd177c2011-07-23 01:20:08 +020031config BCMA_HOST_SOC
Hauke Mehrtens6ffdead2013-07-15 13:15:05 +020032 bool "Support for BCMA in a SoC"
Hauke Mehrtens6ffdead2013-07-15 13:15:05 +020033 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070042 depends on 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070058 depends on MIPS && BCMA_DRIVER_PCI
Rafał Miłecki49280622015-06-07 13:15:31 +020059 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -070064 depends on 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"
Rafał Miłeckie1ac4b42012-07-11 09:23:43 +020095 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"
Randy Dunlap0f0a0af2017-09-27 13:01:49 -0700103 depends on 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"
Rafał Miłecki8369ae32011-05-09 18:56:46 +0200112 help
113 This turns on additional debugging messages.
114
115 If unsure, say N
Randy Dunlap0f0a0af2017-09-27 13:01:49 -0700116
117endif # BCMA