169 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config SSB_POSSIBLE3 bool4 depends on HAS_IOMEM && HAS_DMA5 default y6 7menuconfig SSB8 tristate "Sonics Silicon Backplane support"9 depends on SSB_POSSIBLE10 help11 Support for the Sonics Silicon Backplane bus.12 You only need to enable this option, if you are13 configuring a kernel for an embedded system with14 this bus.15 It will be auto-selected if needed in other16 environments.17 18 The module will be called ssb.19 20 If unsure, say N.21 22if SSB23 24# Common SPROM support routines25config SSB_SPROM26 bool27 28# Support for Block-I/O. SELECT this from the driver that needs it.29config SSB_BLOCKIO30 bool31 depends on SSB32 33config SSB_PCIHOST_POSSIBLE34 bool35 depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)36 default y37 38config SSB_PCIHOST39 bool "Support for SSB on PCI-bus host"40 depends on SSB_PCIHOST_POSSIBLE41 select SSB_SPROM42 default y43 help44 Support for a Sonics Silicon Backplane on top45 of a PCI device.46 47 If unsure, say Y48 49config SSB_B43_PCI_BRIDGE50 bool51 depends on SSB_PCIHOST52 default n53 54config SSB_PCMCIAHOST_POSSIBLE55 bool56 depends on SSB && (PCMCIA = y || PCMCIA = SSB)57 default y58 59config SSB_PCMCIAHOST60 bool "Support for SSB on PCMCIA-bus host"61 depends on SSB_PCMCIAHOST_POSSIBLE62 select SSB_SPROM63 help64 Support for a Sonics Silicon Backplane on top65 of a PCMCIA device.66 67 If unsure, say N68 69config SSB_SDIOHOST_POSSIBLE70 bool71 depends on SSB && (MMC = y || MMC = SSB)72 default y73 74config SSB_SDIOHOST75 bool "Support for SSB on SDIO-bus host"76 depends on SSB_SDIOHOST_POSSIBLE77 help78 Support for a Sonics Silicon Backplane on top79 of a SDIO device.80 81 If unsure, say N82 83config SSB_HOST_SOC84 bool "Support for SSB bus on SoC"85 depends on SSB && BCM47XX_NVRAM86 select SSB_SPROM87 help88 Host interface for a SSB directly mapped into memory. This is89 for some Broadcom SoCs from the BCM47xx and BCM53xx lines.90 91 If unsure, say N92 93config SSB_SERIAL94 bool95 depends on SSB96 # ChipCommon and ExtIf serial support routines.97 98config SSB_DRIVER_PCICORE_POSSIBLE99 bool100 depends on SSB_PCIHOST101 default y102 103config SSB_DRIVER_PCICORE104 bool "SSB PCI core driver"105 depends on SSB_DRIVER_PCICORE_POSSIBLE106 help107 Driver for the Sonics Silicon Backplane attached108 Broadcom PCI core.109 110 If unsure, say Y111 112config SSB_PCICORE_HOSTMODE113 bool "Hostmode support for SSB PCI core"114 depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y115 help116 PCIcore hostmode operation (external PCI bus).117 118config SSB_DRIVER_MIPS119 bool "SSB Broadcom MIPS core driver"120 depends on SSB && MIPS121 select SSB_SERIAL122 select SSB_SFLASH123 help124 Driver for the Sonics Silicon Backplane attached125 Broadcom MIPS core.126 127 If unsure, say N128 129config SSB_SFLASH130 bool "SSB serial flash support"131 depends on SSB_DRIVER_MIPS132 default y133 134# Assumption: We are on embedded, if we compile the MIPS core.135config SSB_EMBEDDED136 bool137 depends on SSB_DRIVER_MIPS138 depends on PCI=n || SSB_PCICORE_HOSTMODE139 default y140 141config SSB_DRIVER_EXTIF142 bool "SSB Broadcom EXTIF core driver"143 depends on SSB_DRIVER_MIPS144 help145 Driver for the Sonics Silicon Backplane attached146 Broadcom EXTIF core.147 148 If unsure, say N149 150config SSB_DRIVER_GIGE151 bool "SSB Broadcom Gigabit Ethernet driver"152 depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS153 help154 Driver for the Sonics Silicon Backplane attached155 Broadcom Gigabit Ethernet.156 157 If unsure, say N158 159config SSB_DRIVER_GPIO160 bool "SSB GPIO driver"161 depends on SSB && GPIOLIB162 select IRQ_DOMAIN if SSB_EMBEDDED163 help164 Driver to provide access to the GPIO pins on the bus.165 166 If unsure, say N167 168endif # SSB169