blob: 75b3603906c1457dc94e915ee84bb681d087029e [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
Mike Frysinger95814832008-11-06 01:37:00 +00006menu "Sonics Silicon Backplane"
7 depends on SSB_POSSIBLE
8
Michael Buesch61e115a2007-09-18 15:12:50 -04009config SSB
10 tristate "Sonics Silicon Backplane support"
11 depends on SSB_POSSIBLE
12 help
13 Support for the Sonics Silicon Backplane bus.
14 You only need to enable this option, if you are
15 configuring a kernel for an embedded system with
16 this bus.
17 It will be auto-selected if needed in other
18 environments.
19
20 The module will be called ssb.
21
22 If unsure, say N.
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
Ingo Molnar9be4bfb2007-10-15 17:23:21 +020035 depends on SSB && (PCI = y || PCI = SSB)
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
Michael Buesch61e115a2007-09-18 15:12:50 -040083config SSB_SILENT
84 bool "No SSB kernel messages"
David Rientjes6a108a12011-01-20 14:44:16 -080085 depends on SSB && EXPERT
Michael Buesch61e115a2007-09-18 15:12:50 -040086 help
87 This option turns off all Sonics Silicon Backplane printks.
88 Note that you won't be able to identify problems, once
89 messages are turned off.
90 This might only be desired for production kernels on
91 embedded devices to reduce the kernel size.
92
93 Say N
94
95config SSB_DEBUG
96 bool "SSB debugging"
97 depends on SSB && !SSB_SILENT
98 help
99 This turns on additional runtime checks and debugging
100 messages. Turn this on for SSB troubleshooting.
101
102 If unsure, say N
103
104config SSB_SERIAL
105 bool
106 depends on SSB
107 # ChipCommon and ExtIf serial support routines.
108
109config SSB_DRIVER_PCICORE_POSSIBLE
110 bool
111 depends on SSB_PCIHOST
112 default y
113
114config SSB_DRIVER_PCICORE
115 bool "SSB PCI core driver"
116 depends on SSB_DRIVER_PCICORE_POSSIBLE
117 help
118 Driver for the Sonics Silicon Backplane attached
119 Broadcom PCI core.
120
121 If unsure, say Y
122
123config SSB_PCICORE_HOSTMODE
Michael Bueschfeeb4442009-03-20 16:43:20 +0100124 bool "Hostmode support for SSB PCI core"
125 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400126 help
127 PCIcore hostmode operation (external PCI bus).
128
129config SSB_DRIVER_MIPS
Michael Bueschfeeb4442009-03-20 16:43:20 +0100130 bool "SSB Broadcom MIPS core driver"
131 depends on SSB && MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400132 select SSB_SERIAL
133 help
134 Driver for the Sonics Silicon Backplane attached
135 Broadcom MIPS core.
136
137 If unsure, say N
138
Rafał Miłecki72a525c2013-01-06 21:48:50 +0100139config SSB_SFLASH
140 bool "SSB serial flash support"
Rafał Miłecki092c4642013-06-25 10:13:46 +0200141 depends on SSB_DRIVER_MIPS
Rafał Miłecki72a525c2013-01-06 21:48:50 +0100142 default y
143
Michael Buesch42bfad42008-02-19 12:41:30 +0100144# Assumption: We are on embedded, if we compile the MIPS core.
145config SSB_EMBEDDED
146 bool
Markos Chandras271792e2013-06-17 13:00:40 +0000147 depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
Michael Buesch42bfad42008-02-19 12:41:30 +0100148 default y
149
Michael Buesch61e115a2007-09-18 15:12:50 -0400150config SSB_DRIVER_EXTIF
Michael Bueschfeeb4442009-03-20 16:43:20 +0100151 bool "SSB Broadcom EXTIF core driver"
152 depends on SSB_DRIVER_MIPS
Michael Buesch61e115a2007-09-18 15:12:50 -0400153 help
154 Driver for the Sonics Silicon Backplane attached
155 Broadcom EXTIF core.
156
157 If unsure, say N
158
Michael Bueschaab547c2008-02-29 11:36:12 +0100159config SSB_DRIVER_GIGE
160 bool "SSB Broadcom Gigabit Ethernet driver"
161 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
162 help
163 Driver for the Sonics Silicon Backplane attached
164 Broadcom Gigabit Ethernet.
165
166 If unsure, say N
167
Hauke Mehrtensec43b082012-11-20 22:24:33 +0000168config SSB_DRIVER_GPIO
169 bool "SSB GPIO driver"
Geert Uytterhoeven3194f2f2012-12-16 16:35:36 +0100170 depends on SSB && GPIOLIB
Rafał Miłecki7c1bc0d2014-01-13 19:56:08 +0100171 select IRQ_DOMAIN if SSB_EMBEDDED
Hauke Mehrtensec43b082012-11-20 22:24:33 +0000172 help
173 Driver to provide access to the GPIO pins on the bus.
174
175 If unsure, say N
176
Michael Buesch61e115a2007-09-18 15:12:50 -0400177endmenu