]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - drivers/ssb/Kconfig
Merge tag 'drm-fixes-2024-06-01' of https://gitlab.freedesktop.org/drm/kernel
[thirdparty/kernel/linux.git] / drivers / ssb / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
61e115a5
MB
2config SSB_POSSIBLE
3 bool
f225763a 4 depends on HAS_IOMEM && HAS_DMA
61e115a5
MB
5 default y
6
8c9fdd76 7menuconfig SSB
61e115a5
MB
8 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
8c9fdd76
VL
22if SSB
23
e7ec2e32
MB
24# Common SPROM support routines
25config SSB_SPROM
26 bool
27
d625a29b
MB
28# Support for Block-I/O. SELECT this from the driver that needs it.
29config SSB_BLOCKIO
30 bool
31 depends on SSB
32
61e115a5
MB
33config SSB_PCIHOST_POSSIBLE
34 bool
a9e6d44d 35 depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
61e115a5
MB
36 default y
37
38config SSB_PCIHOST
39 bool "Support for SSB on PCI-bus host"
40 depends on SSB_PCIHOST_POSSIBLE
e7ec2e32 41 select SSB_SPROM
61e115a5
MB
42 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
c7084535
AZ
49config SSB_B43_PCI_BRIDGE
50 bool
51 depends on SSB_PCIHOST
52 default n
53
61e115a5
MB
54config SSB_PCMCIAHOST_POSSIBLE
55 bool
feeb4445 56 depends on SSB && (PCMCIA = y || PCMCIA = SSB)
61e115a5
MB
57 default y
58
59config SSB_PCMCIAHOST
feeb4445 60 bool "Support for SSB on PCMCIA-bus host"
61e115a5 61 depends on SSB_PCMCIAHOST_POSSIBLE
e7ec2e32 62 select SSB_SPROM
61e115a5
MB
63 help
64 Support for a Sonics Silicon Backplane on top
65 of a PCMCIA device.
66
67 If unsure, say N
68
24ea602e
AH
69config 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
845da6e5
RM
83config SSB_HOST_SOC
84 bool "Support for SSB bus on SoC"
541c9a84 85 depends on SSB && BCM47XX_NVRAM
10da848f 86 select SSB_SPROM
845da6e5
RM
87 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
61e115a5
MB
93config SSB_SERIAL
94 bool
95 depends on SSB
96 # ChipCommon and ExtIf serial support routines.
97
98config SSB_DRIVER_PCICORE_POSSIBLE
99 bool
36910d82 100 depends on SSB_PCIHOST
61e115a5
MB
101 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
feeb4445 113 bool "Hostmode support for SSB PCI core"
ebd27d33 114 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
61e115a5
MB
115 help
116 PCIcore hostmode operation (external PCI bus).
117
118config SSB_DRIVER_MIPS
feeb4445
MB
119 bool "SSB Broadcom MIPS core driver"
120 depends on SSB && MIPS
61e115a5 121 select SSB_SERIAL
179fa46f 122 select SSB_SFLASH
61e115a5
MB
123 help
124 Driver for the Sonics Silicon Backplane attached
125 Broadcom MIPS core.
126
127 If unsure, say N
128
72a525cb
RM
129config SSB_SFLASH
130 bool "SSB serial flash support"
092c4649 131 depends on SSB_DRIVER_MIPS
72a525cb
RM
132 default y
133
42bfad4f
MB
134# Assumption: We are on embedded, if we compile the MIPS core.
135config SSB_EMBEDDED
136 bool
a86a8ca7
RD
137 depends on SSB_DRIVER_MIPS
138 depends on PCI=n || SSB_PCICORE_HOSTMODE
42bfad4f
MB
139 default y
140
61e115a5 141config SSB_DRIVER_EXTIF
feeb4445
MB
142 bool "SSB Broadcom EXTIF core driver"
143 depends on SSB_DRIVER_MIPS
61e115a5
MB
144 help
145 Driver for the Sonics Silicon Backplane attached
146 Broadcom EXTIF core.
147
148 If unsure, say N
149
aab547ce
MB
150config SSB_DRIVER_GIGE
151 bool "SSB Broadcom Gigabit Ethernet driver"
152 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
153 help
154 Driver for the Sonics Silicon Backplane attached
155 Broadcom Gigabit Ethernet.
156
157 If unsure, say N
158
ec43b08b
HM
159config SSB_DRIVER_GPIO
160 bool "SSB GPIO driver"
3194f2f0 161 depends on SSB && GPIOLIB
7c1bc0da 162 select IRQ_DOMAIN if SSB_EMBEDDED
ec43b08b
HM
163 help
164 Driver to provide access to the GPIO pins on the bus.
165
166 If unsure, say N
167
8c9fdd76 168endif # SSB