xref: /linux-6.15/drivers/ssb/Kconfig (revision b8b6069c)
1config SSB_POSSIBLE
2	bool
3	depends on HAS_IOMEM && HAS_DMA
4	default y
5
6menuconfig SSB
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
21if SSB
22
23# Common SPROM support routines
24config SSB_SPROM
25	bool
26
27# Support for Block-I/O. SELECT this from the driver that needs it.
28config SSB_BLOCKIO
29	bool
30	depends on SSB
31
32config SSB_PCIHOST_POSSIBLE
33	bool
34	depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
35	default y
36
37config SSB_PCIHOST
38	bool "Support for SSB on PCI-bus host"
39	depends on SSB_PCIHOST_POSSIBLE
40	select SSB_SPROM
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
48config SSB_B43_PCI_BRIDGE
49	bool
50	depends on SSB_PCIHOST
51	default n
52
53config SSB_PCMCIAHOST_POSSIBLE
54	bool
55	depends on SSB && (PCMCIA = y || PCMCIA = SSB)
56	default y
57
58config SSB_PCMCIAHOST
59	bool "Support for SSB on PCMCIA-bus host"
60	depends on SSB_PCMCIAHOST_POSSIBLE
61	select SSB_SPROM
62	help
63	  Support for a Sonics Silicon Backplane on top
64	  of a PCMCIA device.
65
66	  If unsure, say N
67
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
82config SSB_HOST_SOC
83	bool "Support for SSB bus on SoC"
84	depends on SSB && BCM47XX_NVRAM
85	select SSB_SPROM
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
92config SSB_DEBUG
93	bool "SSB debugging"
94	depends on SSB
95	help
96	  This turns on additional runtime checks and debugging
97	  messages. Turn this on for SSB troubleshooting.
98
99	  If unsure, say N
100
101config SSB_SERIAL
102	bool
103	depends on SSB
104	# ChipCommon and ExtIf serial support routines.
105
106config SSB_DRIVER_PCICORE_POSSIBLE
107	bool
108	depends on SSB_PCIHOST
109	default y
110
111config SSB_DRIVER_PCICORE
112	bool "SSB PCI core driver"
113	depends on SSB_DRIVER_PCICORE_POSSIBLE
114	help
115	  Driver for the Sonics Silicon Backplane attached
116	  Broadcom PCI core.
117
118	  If unsure, say Y
119
120config SSB_PCICORE_HOSTMODE
121	bool "Hostmode support for SSB PCI core"
122	depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
123	help
124	  PCIcore hostmode operation (external PCI bus).
125
126config SSB_DRIVER_MIPS
127	bool "SSB Broadcom MIPS core driver"
128	depends on SSB && MIPS
129	select SSB_SERIAL
130	select SSB_SFLASH
131	help
132	  Driver for the Sonics Silicon Backplane attached
133	  Broadcom MIPS core.
134
135	  If unsure, say N
136
137config SSB_SFLASH
138	bool "SSB serial flash support"
139	depends on SSB_DRIVER_MIPS
140	default y
141
142# Assumption: We are on embedded, if we compile the MIPS core.
143config SSB_EMBEDDED
144	bool
145	depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
146	default y
147
148config SSB_DRIVER_EXTIF
149	bool "SSB Broadcom EXTIF core driver"
150	depends on SSB_DRIVER_MIPS
151	help
152	  Driver for the Sonics Silicon Backplane attached
153	  Broadcom EXTIF core.
154
155	  If unsure, say N
156
157config SSB_DRIVER_GIGE
158	bool "SSB Broadcom Gigabit Ethernet driver"
159	depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
160	help
161	  Driver for the Sonics Silicon Backplane attached
162	  Broadcom Gigabit Ethernet.
163
164	  If unsure, say N
165
166config SSB_DRIVER_GPIO
167	bool "SSB GPIO driver"
168	depends on SSB && GPIOLIB
169	select IRQ_DOMAIN if SSB_EMBEDDED
170	help
171	  Driver to provide access to the GPIO pins on the bus.
172
173	  If unsure, say N
174
175endif # SSB
176