0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SSB_POSSIBLE
0003 bool
0004 depends on HAS_IOMEM && HAS_DMA
0005 default y
0006
0007 menuconfig SSB
0008 tristate "Sonics Silicon Backplane support"
0009 depends on SSB_POSSIBLE
0010 help
0011 Support for the Sonics Silicon Backplane bus.
0012 You only need to enable this option, if you are
0013 configuring a kernel for an embedded system with
0014 this bus.
0015 It will be auto-selected if needed in other
0016 environments.
0017
0018 The module will be called ssb.
0019
0020 If unsure, say N.
0021
0022 if SSB
0023
0024 # Common SPROM support routines
0025 config SSB_SPROM
0026 bool
0027
0028 # Support for Block-I/O. SELECT this from the driver that needs it.
0029 config SSB_BLOCKIO
0030 bool
0031 depends on SSB
0032
0033 config SSB_PCIHOST_POSSIBLE
0034 bool
0035 depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
0036 default y
0037
0038 config SSB_PCIHOST
0039 bool "Support for SSB on PCI-bus host"
0040 depends on SSB_PCIHOST_POSSIBLE
0041 select SSB_SPROM
0042 default y
0043 help
0044 Support for a Sonics Silicon Backplane on top
0045 of a PCI device.
0046
0047 If unsure, say Y
0048
0049 config SSB_B43_PCI_BRIDGE
0050 bool
0051 depends on SSB_PCIHOST
0052 default n
0053
0054 config SSB_PCMCIAHOST_POSSIBLE
0055 bool
0056 depends on SSB && (PCMCIA = y || PCMCIA = SSB)
0057 default y
0058
0059 config SSB_PCMCIAHOST
0060 bool "Support for SSB on PCMCIA-bus host"
0061 depends on SSB_PCMCIAHOST_POSSIBLE
0062 select SSB_SPROM
0063 help
0064 Support for a Sonics Silicon Backplane on top
0065 of a PCMCIA device.
0066
0067 If unsure, say N
0068
0069 config SSB_SDIOHOST_POSSIBLE
0070 bool
0071 depends on SSB && (MMC = y || MMC = SSB)
0072 default y
0073
0074 config SSB_SDIOHOST
0075 bool "Support for SSB on SDIO-bus host"
0076 depends on SSB_SDIOHOST_POSSIBLE
0077 help
0078 Support for a Sonics Silicon Backplane on top
0079 of a SDIO device.
0080
0081 If unsure, say N
0082
0083 config SSB_HOST_SOC
0084 bool "Support for SSB bus on SoC"
0085 depends on SSB && BCM47XX_NVRAM
0086 select SSB_SPROM
0087 help
0088 Host interface for a SSB directly mapped into memory. This is
0089 for some Broadcom SoCs from the BCM47xx and BCM53xx lines.
0090
0091 If unsure, say N
0092
0093 config SSB_SERIAL
0094 bool
0095 depends on SSB
0096 # ChipCommon and ExtIf serial support routines.
0097
0098 config SSB_DRIVER_PCICORE_POSSIBLE
0099 bool
0100 depends on SSB_PCIHOST
0101 default y
0102
0103 config SSB_DRIVER_PCICORE
0104 bool "SSB PCI core driver"
0105 depends on SSB_DRIVER_PCICORE_POSSIBLE
0106 help
0107 Driver for the Sonics Silicon Backplane attached
0108 Broadcom PCI core.
0109
0110 If unsure, say Y
0111
0112 config SSB_PCICORE_HOSTMODE
0113 bool "Hostmode support for SSB PCI core"
0114 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
0115 help
0116 PCIcore hostmode operation (external PCI bus).
0117
0118 config SSB_DRIVER_MIPS
0119 bool "SSB Broadcom MIPS core driver"
0120 depends on SSB && MIPS
0121 select SSB_SERIAL
0122 select SSB_SFLASH
0123 help
0124 Driver for the Sonics Silicon Backplane attached
0125 Broadcom MIPS core.
0126
0127 If unsure, say N
0128
0129 config SSB_SFLASH
0130 bool "SSB serial flash support"
0131 depends on SSB_DRIVER_MIPS
0132 default y
0133
0134 # Assumption: We are on embedded, if we compile the MIPS core.
0135 config SSB_EMBEDDED
0136 bool
0137 depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
0138 default y
0139
0140 config SSB_DRIVER_EXTIF
0141 bool "SSB Broadcom EXTIF core driver"
0142 depends on SSB_DRIVER_MIPS
0143 help
0144 Driver for the Sonics Silicon Backplane attached
0145 Broadcom EXTIF core.
0146
0147 If unsure, say N
0148
0149 config SSB_DRIVER_GIGE
0150 bool "SSB Broadcom Gigabit Ethernet driver"
0151 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
0152 help
0153 Driver for the Sonics Silicon Backplane attached
0154 Broadcom Gigabit Ethernet.
0155
0156 If unsure, say N
0157
0158 config SSB_DRIVER_GPIO
0159 bool "SSB GPIO driver"
0160 depends on SSB && GPIOLIB
0161 select IRQ_DOMAIN if SSB_EMBEDDED
0162 help
0163 Driver to provide access to the GPIO pins on the bus.
0164
0165 If unsure, say N
0166
0167 endif # SSB