blob: 34fa19d4b3f1cf070c93b6f0aa81021e870967db [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Michael Buesch61e115a2007-09-18 15:12:50 -04002config SSB_POSSIBLE
3 bool
Michael Bueschf2257632008-06-20 11:50:29 +02004 depends on HAS_IOMEM && HAS_DMA
Michael Buesch61e115a2007-09-18 15:12:50 -04005 default y
6
Vincent Legoll8c9fdd72017-12-04 23:27:44 +01007menuconfig SSB
Michael Buesch61e115a2007-09-18 15:12:50 -04008 tristate "Sonics Silicon Backplane support"
9 depends on SSB_POSSIBLE
10 help
11 Support for the Sonics Silicon Backplane bus.
12 You only need to enable this option, if you are
13 configuring a kernel for an embedded system with
14 this bus.
15 It will be auto-selected if needed in other
16 environments.
17
18 The module will be called ssb.
19
20 If unsure, say N.
21
Vincent Legoll8c9fdd72017-12-04 23:27:44 +010022if SSB
23
Michael Buesche7ec2e32008-03-10 17:26:32 +010024# Common SPROM support routines
25config SSB_SPROM
26 bool
27
Michael Bueschd625a292008-04-02 19:46:56 +020028# Support for Block-I/O. SELECT this from the driver that needs it.
29config SSB_BLOCKIO
30 bool
31 depends on SSB
32
Michael Buesch61e115a2007-09-18 15:12:50 -040033config SSB_PCIHOST_POSSIBLE
34 bool
Sven Joachima9e6d442018-01-26 10:38:01 +010035 depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
Michael Buesch61e115a2007-09-18 15:12:50 -040036 default y
37
38config SSB_PCIHOST
39 bool "Support for SSB on PCI-bus host"
40 depends on SSB_PCIHOST_POSSIBLE
Michael Buesche7ec2e32008-03-10 17:26:32 +010041 select SSB_SPROM
Michael Buesch61e115a2007-09-18 15:12:50 -040042 default y
43 help
44 Support for a Sonics Silicon Backplane on top
45 of a PCI device.
46
47 If unsure, say Y
48
Alexey Zaytsevc7084532008-02-23 12:59:26 +030049config SSB_B43_PCI_BRIDGE
50 bool
51 depends on SSB_PCIHOST
52 default n
53
Michael Buesch61e115a2007-09-18 15:12:50 -040054config SSB_PCMCIAHOST_POSSIBLE
55 bool
Michael Bueschfeeb4442009-03-20 16:43:20 +010056 depends on SSB && (PCMCIA = y || PCMCIA = SSB)
Michael Buesch61e115a2007-09-18 15:12:50 -040057 default y
58
59config SSB_PCMCIAHOST
Michael Bueschfeeb4442009-03-20 16:43:20 +010060 bool "Support for SSB on PCMCIA-bus host"
Michael Buesch61e115a2007-09-18 15:12:50 -040061 depends on SSB_PCMCIAHOST_POSSIBLE
Michael Buesche7ec2e32008-03-10 17:26:32 +010062 select SSB_SPROM
Michael Buesch61e115a2007-09-18 15:12:50 -040063 help
64 Support for a Sonics Silicon Backplane on top
65 of a PCMCIA device.
66
67 If unsure, say N
68
Albert Herranz24ea6022009-09-08 19:30:12 +020069config SSB_SDIOHOST_POSSIBLE
70 bool
71 depends on SSB && (MMC = y || MMC = SSB)
72 default y
73
74config SSB_SDIOHOST
75 bool "Support for SSB on SDIO-bus host"
76 depends on SSB_SDIOHOST_POSSIBLE
77 help
78 Support for a Sonics Silicon Backplane on top
79 of a SDIO device.
80
81 If unsure, say N
82
Rafał Miłecki845da6e2015-10-25 19:32:43 +010083config SSB_HOST_SOC
84 bool "Support for SSB bus on SoC"
Rafał Miłecki541c9a82015-12-09 23:36:51 +010085 depends on SSB && BCM47XX_NVRAM
Arnd Bergmann10da8482016-02-25 21:57:43 +010086 select SSB_SPROM
Rafał Miłecki845da6e2015-10-25 19:32:43 +010087 help
88 Host interface for a SSB directly mapped into memory. This is
89 for some Broadcom SoCs from the BCM47xx and BCM53xx lines.
90
91 If unsure, say N
92
Michael Buesch61e115a2007-09-18 15:12:50 -040093config SSB_SERIAL
94 bool
95 depends on SSB
96 # ChipCommon and ExtIf serial support routines.
97
98config SSB_DRIVER_PCICORE_POSSIBLE
99 bool
Rafał Miłecki36910d82018-05-11 11:17:14 +0200100 depends on SSB_PCIHOST
Michael Buesch61e115a2007-09-18 15:12:50 -0400101 default y
102
103config SSB_DRIVER_PCICORE
104 bool "SSB PCI core driver"
105 depends on SSB_DRIVER_PCICORE_POSSIBLE
106 help
107 Driver for the Sonics Silicon Backplane attached
108 Broadcom PCI core.
109
110 If unsure, say Y
111
112config SSB_PCICORE_HOSTMODE
Michael Bueschfeeb4442009-03-20 16:43:20 +0100113 bool "Hostmode support for SSB PCI core"
Rafał Miłeckiebd27d32018-05-11 11:17:15 +0200114 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
Michael Buesch61e115a2007-09-18 15:12:50 -0400115 help
116 PCIcore hostmode operation (external PCI bus).
117
118config SSB_DRIVER_MIPS
Michael Bueschfeeb4442009-03-20 16:43:20 +0100119 bool "SSB Broadcom MIPS core driver"
120 depends on SSB && MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400121 select SSB_SERIAL
Adrien Schildknecht179fa46f2015-03-25 16:31:42 +0100122 select SSB_SFLASH
Michael Buesch61e115a2007-09-18 15:12:50 -0400123 help
124 Driver for the Sonics Silicon Backplane attached
125 Broadcom MIPS core.
126
127 If unsure, say N
128
Rafał Miłecki72a525c2013-01-06 21:48:50 +0100129config SSB_SFLASH
130 bool "SSB serial flash support"
Rafał Miłecki092c4642013-06-25 10:13:46 +0200131 depends on SSB_DRIVER_MIPS
Rafał Miłecki72a525c2013-01-06 21:48:50 +0100132 default y
133
Michael Buesch42bfad42008-02-19 12:41:30 +0100134# Assumption: We are on embedded, if we compile the MIPS core.
135config SSB_EMBEDDED
136 bool
Markos Chandras271792e2013-06-17 13:00:40 +0000137 depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
Michael Buesch42bfad42008-02-19 12:41:30 +0100138 default y
139
Michael Buesch61e115a2007-09-18 15:12:50 -0400140config SSB_DRIVER_EXTIF
Michael Bueschfeeb4442009-03-20 16:43:20 +0100141 bool "SSB Broadcom EXTIF core driver"
142 depends on SSB_DRIVER_MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400143 help
144 Driver for the Sonics Silicon Backplane attached
145 Broadcom EXTIF core.
146
147 If unsure, say N
148
Michael Bueschaab547c2008-02-29 11:36:12 +0100149config SSB_DRIVER_GIGE
150 bool "SSB Broadcom Gigabit Ethernet driver"
151 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
152 help
153 Driver for the Sonics Silicon Backplane attached
154 Broadcom Gigabit Ethernet.
155
156 If unsure, say N
157
Hauke Mehrtensec43b082012-11-20 22:24:33 +0000158config SSB_DRIVER_GPIO
159 bool "SSB GPIO driver"
Geert Uytterhoeven3194f2f2012-12-16 16:35:36 +0100160 depends on SSB && GPIOLIB
Rafał Miłecki7c1bc0d2014-01-13 19:56:08 +0100161 select IRQ_DOMAIN if SSB_EMBEDDED
Hauke Mehrtensec43b082012-11-20 22:24:33 +0000162 help
163 Driver to provide access to the GPIO pins on the bus.
164
165 If unsure, say N
166
Vincent Legoll8c9fdd72017-12-04 23:27:44 +0100167endif # SSB