blob: df30e1323252638a0c92c8dd2c9696503e218ed5 [file] [log] [blame]
Michael Buesch61e115a2007-09-18 15:12:50 -04001config SSB_POSSIBLE
2 bool
Michael Bueschf2257632008-06-20 11:50:29 +02003 depends on HAS_IOMEM && HAS_DMA
Michael Buesch61e115a2007-09-18 15:12:50 -04004 default y
5
Vincent Legoll8c9fdd72017-12-04 23:27:44 +01006menuconfig SSB
Michael Buesch61e115a2007-09-18 15:12:50 -04007 tristate "Sonics Silicon Backplane support"
8 depends on SSB_POSSIBLE
9 help
10 Support for the Sonics Silicon Backplane bus.
11 You only need to enable this option, if you are
12 configuring a kernel for an embedded system with
13 this bus.
14 It will be auto-selected if needed in other
15 environments.
16
17 The module will be called ssb.
18
19 If unsure, say N.
20
Vincent Legoll8c9fdd72017-12-04 23:27:44 +010021if SSB
22
Michael Buesche7ec2e32008-03-10 17:26:32 +010023# Common SPROM support routines
24config SSB_SPROM
25 bool
26
Michael Bueschd625a292008-04-02 19:46:56 +020027# Support for Block-I/O. SELECT this from the driver that needs it.
28config SSB_BLOCKIO
29 bool
30 depends on SSB
31
Michael Buesch61e115a2007-09-18 15:12:50 -040032config SSB_PCIHOST_POSSIBLE
33 bool
Sven Joachima9e6d442018-01-26 10:38:01 +010034 depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
Michael Buesch61e115a2007-09-18 15:12:50 -040035 default y
36
37config SSB_PCIHOST
38 bool "Support for SSB on PCI-bus host"
39 depends on SSB_PCIHOST_POSSIBLE
Michael Buesche7ec2e32008-03-10 17:26:32 +010040 select SSB_SPROM
Michael Buesch61e115a2007-09-18 15:12:50 -040041 default y
42 help
43 Support for a Sonics Silicon Backplane on top
44 of a PCI device.
45
46 If unsure, say Y
47
Alexey Zaytsevc7084532008-02-23 12:59:26 +030048config SSB_B43_PCI_BRIDGE
49 bool
50 depends on SSB_PCIHOST
51 default n
52
Michael Buesch61e115a2007-09-18 15:12:50 -040053config SSB_PCMCIAHOST_POSSIBLE
54 bool
Michael Bueschfeeb4442009-03-20 16:43:20 +010055 depends on SSB && (PCMCIA = y || PCMCIA = SSB)
Michael Buesch61e115a2007-09-18 15:12:50 -040056 default y
57
58config SSB_PCMCIAHOST
Michael Bueschfeeb4442009-03-20 16:43:20 +010059 bool "Support for SSB on PCMCIA-bus host"
Michael Buesch61e115a2007-09-18 15:12:50 -040060 depends on SSB_PCMCIAHOST_POSSIBLE
Michael Buesche7ec2e32008-03-10 17:26:32 +010061 select SSB_SPROM
Michael Buesch61e115a2007-09-18 15:12:50 -040062 help
63 Support for a Sonics Silicon Backplane on top
64 of a PCMCIA device.
65
66 If unsure, say N
67
Albert Herranz24ea6022009-09-08 19:30:12 +020068config SSB_SDIOHOST_POSSIBLE
69 bool
70 depends on SSB && (MMC = y || MMC = SSB)
71 default y
72
73config SSB_SDIOHOST
74 bool "Support for SSB on SDIO-bus host"
75 depends on SSB_SDIOHOST_POSSIBLE
76 help
77 Support for a Sonics Silicon Backplane on top
78 of a SDIO device.
79
80 If unsure, say N
81
Rafał Miłecki845da6e2015-10-25 19:32:43 +010082config SSB_HOST_SOC
83 bool "Support for SSB bus on SoC"
Rafał Miłecki541c9a82015-12-09 23:36:51 +010084 depends on SSB && BCM47XX_NVRAM
Arnd Bergmann10da8482016-02-25 21:57:43 +010085 select SSB_SPROM
Rafał Miłecki845da6e2015-10-25 19:32:43 +010086 help
87 Host interface for a SSB directly mapped into memory. This is
88 for some Broadcom SoCs from the BCM47xx and BCM53xx lines.
89
90 If unsure, say N
91
Michael Buesch61e115a2007-09-18 15:12:50 -040092config SSB_SERIAL
93 bool
94 depends on SSB
95 # ChipCommon and ExtIf serial support routines.
96
97config SSB_DRIVER_PCICORE_POSSIBLE
98 bool
Rafał Miłecki36910d82018-05-11 11:17:14 +020099 depends on SSB_PCIHOST
Michael Buesch61e115a2007-09-18 15:12:50 -0400100 default y
101
102config SSB_DRIVER_PCICORE
103 bool "SSB PCI core driver"
104 depends on SSB_DRIVER_PCICORE_POSSIBLE
105 help
106 Driver for the Sonics Silicon Backplane attached
107 Broadcom PCI core.
108
109 If unsure, say Y
110
111config SSB_PCICORE_HOSTMODE
Michael Bueschfeeb4442009-03-20 16:43:20 +0100112 bool "Hostmode support for SSB PCI core"
Rafał Miłeckiebd27d32018-05-11 11:17:15 +0200113 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
Michael Buesch61e115a2007-09-18 15:12:50 -0400114 help
115 PCIcore hostmode operation (external PCI bus).
116
117config SSB_DRIVER_MIPS
Michael Bueschfeeb4442009-03-20 16:43:20 +0100118 bool "SSB Broadcom MIPS core driver"
119 depends on SSB && MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400120 select SSB_SERIAL
Adrien Schildknecht179fa46f2015-03-25 16:31:42 +0100121 select SSB_SFLASH
Michael Buesch61e115a2007-09-18 15:12:50 -0400122 help
123 Driver for the Sonics Silicon Backplane attached
124 Broadcom MIPS core.
125
126 If unsure, say N
127
Rafał Miłecki72a525c2013-01-06 21:48:50 +0100128config SSB_SFLASH
129 bool "SSB serial flash support"
Rafał Miłecki092c4642013-06-25 10:13:46 +0200130 depends on SSB_DRIVER_MIPS
Rafał Miłecki72a525c2013-01-06 21:48:50 +0100131 default y
132
Michael Buesch42bfad42008-02-19 12:41:30 +0100133# Assumption: We are on embedded, if we compile the MIPS core.
134config SSB_EMBEDDED
135 bool
Markos Chandras271792e2013-06-17 13:00:40 +0000136 depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
Michael Buesch42bfad42008-02-19 12:41:30 +0100137 default y
138
Michael Buesch61e115a2007-09-18 15:12:50 -0400139config SSB_DRIVER_EXTIF
Michael Bueschfeeb4442009-03-20 16:43:20 +0100140 bool "SSB Broadcom EXTIF core driver"
141 depends on SSB_DRIVER_MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400142 help
143 Driver for the Sonics Silicon Backplane attached
144 Broadcom EXTIF core.
145
146 If unsure, say N
147
Michael Bueschaab547c2008-02-29 11:36:12 +0100148config SSB_DRIVER_GIGE
149 bool "SSB Broadcom Gigabit Ethernet driver"
150 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
151 help
152 Driver for the Sonics Silicon Backplane attached
153 Broadcom Gigabit Ethernet.
154
155 If unsure, say N
156
Hauke Mehrtensec43b082012-11-20 22:24:33 +0000157config SSB_DRIVER_GPIO
158 bool "SSB GPIO driver"
Geert Uytterhoeven3194f2f2012-12-16 16:35:36 +0100159 depends on SSB && GPIOLIB
Rafał Miłecki7c1bc0d2014-01-13 19:56:08 +0100160 select IRQ_DOMAIN if SSB_EMBEDDED
Hauke Mehrtensec43b082012-11-20 22:24:33 +0000161 help
162 Driver to provide access to the GPIO pins on the bus.
163
164 If unsure, say N
165
Vincent Legoll8c9fdd72017-12-04 23:27:44 +0100166endif # SSB