Blame view

drivers/bcma/Kconfig 2.76 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
8369ae33b   Rafał Miłecki   bcma: add Broadco...
2
3
  config BCMA_POSSIBLE
  	bool
6029e0c59   Rafał Miłecki   Revert "bcma: Kco...
4
  	depends on HAS_IOMEM && HAS_DMA
8369ae33b   Rafał Miłecki   bcma: add Broadco...
5
  	default y
9ca766b36   Vincent Legoll   bcma: make BCMA a...
6
7
  menuconfig BCMA
  	tristate "Broadcom specific AMBA"
8369ae33b   Rafał Miłecki   bcma: add Broadco...
8
9
10
11
  	depends on BCMA_POSSIBLE
  	help
  	  Bus driver for Broadcom specific Advanced Microcontroller Bus
  	  Architecture.
0f0a0af82   Randy Dunlap   bcma: keep *confi...
12
  if BCMA
9d75ef0f8   Rafał Miłecki   bcma: host pci: i...
13
14
15
  # Support for Block-I/O. SELECT this from the driver that needs it.
  config BCMA_BLOCKIO
  	bool
9d75ef0f8   Rafał Miłecki   bcma: host pci: i...
16

8369ae33b   Rafał Miłecki   bcma: add Broadco...
17
18
  config BCMA_HOST_PCI_POSSIBLE
  	bool
0f0a0af82   Randy Dunlap   bcma: keep *confi...
19
  	depends on PCI = y
8369ae33b   Rafał Miłecki   bcma: add Broadco...
20
21
22
23
24
  	default y
  
  config BCMA_HOST_PCI
  	bool "Support for BCMA on PCI-host bus"
  	depends on BCMA_HOST_PCI_POSSIBLE
1ca2760fb   Rafał Miłecki   bcma: prepare Kco...
25
  	select BCMA_DRIVER_PCI
d186899fa   Hauke Mehrtens   bcma: activate PC...
26
  	default y
8369ae33b   Rafał Miłecki   bcma: add Broadco...
27

ecd177c21   Hauke Mehrtens   bcma: add SOC bus
28
  config BCMA_HOST_SOC
6ffdead80   Hauke Mehrtens   bcma: make it pos...
29
  	bool "Support for BCMA in a SoC"
a58d0b4d5   Boris Brezillon   bcma: Allow selec...
30
  	depends on HAS_IOMEM
6ffdead80   Hauke Mehrtens   bcma: make it pos...
31
32
33
34
35
36
  	help
  	  Host interface for a Broadcom AIX bus directly mapped into
  	  the memory. This only works with the Broadcom SoCs from the
  	  BCM47XX line.
  
  	  If unsure, say N
21e0534ad   Hauke Mehrtens   bcma: add mips dr...
37

1ca2760fb   Rafał Miłecki   bcma: prepare Kco...
38
  config BCMA_DRIVER_PCI
982a40f5c   Rafał Miłecki   bcma: allow disab...
39
  	bool "BCMA Broadcom PCI core driver"
0f0a0af82   Randy Dunlap   bcma: keep *confi...
40
  	depends on PCI
1ca2760fb   Rafał Miłecki   bcma: prepare Kco...
41
42
43
44
45
46
47
48
49
50
51
52
  	default y
  	help
  	  BCMA bus may have many versions of PCIe core. This driver
  	  supports:
  	  1) PCIe core working in clientmode
  	  2) PCIe Gen 2 clientmode core
  
  	  In general PCIe (Gen 2) clientmode core is required on PCIe
  	  hosted buses. It's responsible for initialization and basic
  	  hardware management.
  	  This driver is also prerequisite for a hostmode PCIe core
  	  support.
49280625e   Rafał Miłecki   bcma: lower depen...
53
54
  config BCMA_DRIVER_PCI_HOSTMODE
  	bool "Driver for PCI core working in hostmode"
79ca239a6   Matt Redfearn   bcma: Prevent bui...
55
  	depends on MIPS && BCMA_DRIVER_PCI && PCI_DRIVERS_LEGACY && BCMA = y
49280625e   Rafał Miłecki   bcma: lower depen...
56
57
  	help
  	  PCI core hostmode operation (external PCI bus).
21e0534ad   Hauke Mehrtens   bcma: add mips dr...
58
59
  config BCMA_DRIVER_MIPS
  	bool "BCMA Broadcom MIPS core driver"
a58d0b4d5   Boris Brezillon   bcma: Allow selec...
60
  	depends on MIPS || COMPILE_TEST
21e0534ad   Hauke Mehrtens   bcma: add mips dr...
61
62
63
64
65
  	help
  	  Driver for the Broadcom MIPS core attached to Broadcom specific
  	  Advanced Microcontroller Bus.
  
  	  If unsure, say N
ecd177c21   Hauke Mehrtens   bcma: add SOC bus
66

d6a3b51ad   Rafał Miłecki   bcma: move parall...
67
68
69
70
  config BCMA_PFLASH
  	bool
  	depends on BCMA_DRIVER_MIPS
  	default y
23cb3b212   Rafał Miłecki   bcma: add place f...
71
  config BCMA_SFLASH
57d8f7dd2   Rafał Miłecki   bcma: allow enabl...
72
73
  	bool "ChipCommon-attached serial flash support"
  	depends on BCMA_HOST_SOC
23cb3b212   Rafał Miłecki   bcma: add place f...
74
  	default y
57d8f7dd2   Rafał Miłecki   bcma: allow enabl...
75
76
77
78
79
80
81
  	help
  	  Some cheap devices have serial flash connected to the ChipCommon
  	  instead of independent SPI controller. It requires using a separated
  	  driver that implements ChipCommon specific interface communication.
  
  	  Enabling this symbol will let bcma recognize serial flash and register
  	  it as platform device.
23cb3b212   Rafał Miłecki   bcma: add place f...
82
83
84
  
  config BCMA_NFLASH
  	bool
371a00448   Rafał Miłecki   bcma: detect and ...
85
  	depends on BCMA_DRIVER_MIPS
23cb3b212   Rafał Miłecki   bcma: add place f...
86
  	default y
e1ac4b409   Rafał Miłecki   bcma: add trivial...
87
88
  config BCMA_DRIVER_GMAC_CMN
  	bool "BCMA Broadcom GBIT MAC COMMON core driver"
e1ac4b409   Rafał Miłecki   bcma: add trivial...
89
90
91
92
93
  	help
  	  Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
  	  specific Advanced Microcontroller Bus.
  
  	  If unsure, say N
cf0936b06   Hauke Mehrtens   bcma: add GPIO dr...
94
95
  config BCMA_DRIVER_GPIO
  	bool "BCMA GPIO driver"
0f0a0af82   Randy Dunlap   bcma: keep *confi...
96
  	depends on GPIOLIB
74f4e0cc6   Linus Walleij   bcma: switch GPIO...
97
  	select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
cf0936b06   Hauke Mehrtens   bcma: add GPIO dr...
98
99
100
101
  	help
  	  Driver to provide access to the GPIO pins of the bcma bus.
  
  	  If unsure, say N
8369ae33b   Rafał Miłecki   bcma: add Broadco...
102
103
  config BCMA_DEBUG
  	bool "BCMA debugging"
8369ae33b   Rafał Miłecki   bcma: add Broadco...
104
105
106
107
  	help
  	  This turns on additional debugging messages.
  
  	  If unsure, say N
0f0a0af82   Randy Dunlap   bcma: keep *confi...
108
109
  
  endif # BCMA