]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - drivers/ssb/Kconfig
Merge tag 'devicetree-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-eoan-kernel.git] / drivers / ssb / Kconfig
CommitLineData
61e115a5
MB
1config SSB_POSSIBLE
2 bool
f225763a 3 depends on HAS_IOMEM && HAS_DMA
61e115a5
MB
4 default y
5
8c9fdd76 6menuconfig SSB
61e115a5
MB
7 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
8c9fdd76
VL
21if SSB
22
e7ec2e32
MB
23# Common SPROM support routines
24config SSB_SPROM
25 bool
26
d625a29b
MB
27# Support for Block-I/O. SELECT this from the driver that needs it.
28config SSB_BLOCKIO
29 bool
30 depends on SSB
31
61e115a5
MB
32config SSB_PCIHOST_POSSIBLE
33 bool
a9e6d44d 34 depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
61e115a5
MB
35 default y
36
37config SSB_PCIHOST
38 bool "Support for SSB on PCI-bus host"
39 depends on SSB_PCIHOST_POSSIBLE
e7ec2e32 40 select SSB_SPROM
61e115a5
MB
41 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
c7084535
AZ
48config SSB_B43_PCI_BRIDGE
49 bool
50 depends on SSB_PCIHOST
51 default n
52
61e115a5
MB
53config SSB_PCMCIAHOST_POSSIBLE
54 bool
feeb4445 55 depends on SSB && (PCMCIA = y || PCMCIA = SSB)
61e115a5
MB
56 default y
57
58config SSB_PCMCIAHOST
feeb4445 59 bool "Support for SSB on PCMCIA-bus host"
61e115a5 60 depends on SSB_PCMCIAHOST_POSSIBLE
e7ec2e32 61 select SSB_SPROM
61e115a5
MB
62 help
63 Support for a Sonics Silicon Backplane on top
64 of a PCMCIA device.
65
66 If unsure, say N
67
24ea602e
AH
68config 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
845da6e5
RM
82config SSB_HOST_SOC
83 bool "Support for SSB bus on SoC"
541c9a84 84 depends on SSB && BCM47XX_NVRAM
10da848f 85 select SSB_SPROM
845da6e5
RM
86 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
61e115a5
MB
92config SSB_SILENT
93 bool "No SSB kernel messages"
6a108a14 94 depends on SSB && EXPERT
61e115a5
MB
95 help
96 This option turns off all Sonics Silicon Backplane printks.
97 Note that you won't be able to identify problems, once
98 messages are turned off.
99 This might only be desired for production kernels on
100 embedded devices to reduce the kernel size.
101
102 Say N
103
104config SSB_DEBUG
105 bool "SSB debugging"
106 depends on SSB && !SSB_SILENT
107 help
108 This turns on additional runtime checks and debugging
109 messages. Turn this on for SSB troubleshooting.
110
111 If unsure, say N
112
113config SSB_SERIAL
114 bool
115 depends on SSB
116 # ChipCommon and ExtIf serial support routines.
117
118config SSB_DRIVER_PCICORE_POSSIBLE
119 bool
36910d82 120 depends on SSB_PCIHOST
61e115a5
MB
121 default y
122
123config SSB_DRIVER_PCICORE
124 bool "SSB PCI core driver"
125 depends on SSB_DRIVER_PCICORE_POSSIBLE
126 help
127 Driver for the Sonics Silicon Backplane attached
128 Broadcom PCI core.
129
130 If unsure, say Y
131
132config SSB_PCICORE_HOSTMODE
feeb4445 133 bool "Hostmode support for SSB PCI core"
ebd27d33 134 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
61e115a5
MB
135 help
136 PCIcore hostmode operation (external PCI bus).
137
138config SSB_DRIVER_MIPS
feeb4445
MB
139 bool "SSB Broadcom MIPS core driver"
140 depends on SSB && MIPS
61e115a5 141 select SSB_SERIAL
179fa46f 142 select SSB_SFLASH
61e115a5
MB
143 help
144 Driver for the Sonics Silicon Backplane attached
145 Broadcom MIPS core.
146
147 If unsure, say N
148
72a525cb
RM
149config SSB_SFLASH
150 bool "SSB serial flash support"
092c4649 151 depends on SSB_DRIVER_MIPS
72a525cb
RM
152 default y
153
42bfad4f
MB
154# Assumption: We are on embedded, if we compile the MIPS core.
155config SSB_EMBEDDED
156 bool
271792ef 157 depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
42bfad4f
MB
158 default y
159
61e115a5 160config SSB_DRIVER_EXTIF
feeb4445
MB
161 bool "SSB Broadcom EXTIF core driver"
162 depends on SSB_DRIVER_MIPS
61e115a5
MB
163 help
164 Driver for the Sonics Silicon Backplane attached
165 Broadcom EXTIF core.
166
167 If unsure, say N
168
aab547ce
MB
169config SSB_DRIVER_GIGE
170 bool "SSB Broadcom Gigabit Ethernet driver"
171 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
172 help
173 Driver for the Sonics Silicon Backplane attached
174 Broadcom Gigabit Ethernet.
175
176 If unsure, say N
177
ec43b08b
HM
178config SSB_DRIVER_GPIO
179 bool "SSB GPIO driver"
3194f2f0 180 depends on SSB && GPIOLIB
7c1bc0da 181 select IRQ_DOMAIN if SSB_EMBEDDED
ec43b08b
HM
182 help
183 Driver to provide access to the GPIO pins on the bus.
184
185 If unsure, say N
186
8c9fdd76 187endif # SSB