Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 1 | config BCMA_POSSIBLE |
| 2 | bool |
Rafał Miłecki | 6029e0c | 2015-03-05 18:25:12 +0100 | [diff] [blame] | 3 | depends on HAS_IOMEM && HAS_DMA |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 4 | default y |
| 5 | |
Vincent Legoll | 9ca766b | 2017-04-17 12:07:30 +0200 | [diff] [blame] | 6 | menuconfig BCMA |
| 7 | tristate "Broadcom specific AMBA" |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 8 | depends on BCMA_POSSIBLE |
| 9 | help |
| 10 | Bus driver for Broadcom specific Advanced Microcontroller Bus |
| 11 | Architecture. |
| 12 | |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 13 | if BCMA |
| 14 | |
Rafał Miłecki | 9d75ef0 | 2011-05-20 03:27:06 +0200 | [diff] [blame] | 15 | # Support for Block-I/O. SELECT this from the driver that needs it. |
| 16 | config BCMA_BLOCKIO |
| 17 | bool |
Rafał Miłecki | 9d75ef0 | 2011-05-20 03:27:06 +0200 | [diff] [blame] | 18 | |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 19 | config BCMA_HOST_PCI_POSSIBLE |
| 20 | bool |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 21 | depends on PCI = y |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 22 | default y |
| 23 | |
| 24 | config BCMA_HOST_PCI |
| 25 | bool "Support for BCMA on PCI-host bus" |
| 26 | depends on BCMA_HOST_PCI_POSSIBLE |
Rafał Miłecki | 1ca2760 | 2015-03-04 23:07:05 +0100 | [diff] [blame] | 27 | select BCMA_DRIVER_PCI |
Hauke Mehrtens | d186899 | 2013-06-09 18:59:42 +0200 | [diff] [blame] | 28 | default y |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 29 | |
Hauke Mehrtens | ecd177c | 2011-07-23 01:20:08 +0200 | [diff] [blame] | 30 | config BCMA_HOST_SOC |
Hauke Mehrtens | 6ffdead | 2013-07-15 13:15:05 +0200 | [diff] [blame] | 31 | bool "Support for BCMA in a SoC" |
Hauke Mehrtens | 6ffdead | 2013-07-15 13:15:05 +0200 | [diff] [blame] | 32 | help |
| 33 | Host interface for a Broadcom AIX bus directly mapped into |
| 34 | the memory. This only works with the Broadcom SoCs from the |
| 35 | BCM47XX line. |
| 36 | |
| 37 | If unsure, say N |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 38 | |
Rafał Miłecki | 1ca2760 | 2015-03-04 23:07:05 +0100 | [diff] [blame] | 39 | config BCMA_DRIVER_PCI |
Rafał Miłecki | 982a40f | 2015-03-05 18:25:11 +0100 | [diff] [blame] | 40 | bool "BCMA Broadcom PCI core driver" |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 41 | depends on PCI |
Rafał Miłecki | 1ca2760 | 2015-03-04 23:07:05 +0100 | [diff] [blame] | 42 | default y |
| 43 | help |
| 44 | BCMA bus may have many versions of PCIe core. This driver |
| 45 | supports: |
| 46 | 1) PCIe core working in clientmode |
| 47 | 2) PCIe Gen 2 clientmode core |
| 48 | |
| 49 | In general PCIe (Gen 2) clientmode core is required on PCIe |
| 50 | hosted buses. It's responsible for initialization and basic |
| 51 | hardware management. |
| 52 | This driver is also prerequisite for a hostmode PCIe core |
| 53 | support. |
| 54 | |
Rafał Miłecki | 4928062 | 2015-06-07 13:15:31 +0200 | [diff] [blame] | 55 | config BCMA_DRIVER_PCI_HOSTMODE |
| 56 | bool "Driver for PCI core working in hostmode" |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 57 | depends on MIPS && BCMA_DRIVER_PCI |
Rafał Miłecki | 4928062 | 2015-06-07 13:15:31 +0200 | [diff] [blame] | 58 | help |
| 59 | PCI core hostmode operation (external PCI bus). |
| 60 | |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 61 | config BCMA_DRIVER_MIPS |
| 62 | bool "BCMA Broadcom MIPS core driver" |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 63 | depends on MIPS |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 64 | help |
| 65 | Driver for the Broadcom MIPS core attached to Broadcom specific |
| 66 | Advanced Microcontroller Bus. |
| 67 | |
| 68 | If unsure, say N |
Hauke Mehrtens | ecd177c | 2011-07-23 01:20:08 +0200 | [diff] [blame] | 69 | |
Rafał Miłecki | d6a3b51 | 2016-02-12 10:15:44 +0100 | [diff] [blame] | 70 | config BCMA_PFLASH |
| 71 | bool |
| 72 | depends on BCMA_DRIVER_MIPS |
| 73 | default y |
| 74 | |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 75 | config BCMA_SFLASH |
Rafał Miłecki | 57d8f7d | 2016-07-18 12:34:14 +0200 | [diff] [blame] | 76 | bool "ChipCommon-attached serial flash support" |
| 77 | depends on BCMA_HOST_SOC |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 78 | default y |
Rafał Miłecki | 57d8f7d | 2016-07-18 12:34:14 +0200 | [diff] [blame] | 79 | help |
| 80 | Some cheap devices have serial flash connected to the ChipCommon |
| 81 | instead of independent SPI controller. It requires using a separated |
| 82 | driver that implements ChipCommon specific interface communication. |
| 83 | |
| 84 | Enabling this symbol will let bcma recognize serial flash and register |
| 85 | it as platform device. |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 86 | |
| 87 | config BCMA_NFLASH |
| 88 | bool |
Rafał Miłecki | 371a004 | 2012-08-12 13:08:05 +0200 | [diff] [blame] | 89 | depends on BCMA_DRIVER_MIPS |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 90 | default y |
| 91 | |
Rafał Miłecki | e1ac4b4 | 2012-07-11 09:23:43 +0200 | [diff] [blame] | 92 | config BCMA_DRIVER_GMAC_CMN |
| 93 | bool "BCMA Broadcom GBIT MAC COMMON core driver" |
Rafał Miłecki | e1ac4b4 | 2012-07-11 09:23:43 +0200 | [diff] [blame] | 94 | help |
| 95 | Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom |
| 96 | specific Advanced Microcontroller Bus. |
| 97 | |
| 98 | If unsure, say N |
| 99 | |
Hauke Mehrtens | cf0936b | 2012-11-20 22:24:30 +0000 | [diff] [blame] | 100 | config BCMA_DRIVER_GPIO |
| 101 | bool "BCMA GPIO driver" |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 102 | depends on GPIOLIB |
Linus Walleij | 74f4e0c | 2015-08-14 00:21:45 +0200 | [diff] [blame] | 103 | select GPIOLIB_IRQCHIP if BCMA_HOST_SOC |
Hauke Mehrtens | cf0936b | 2012-11-20 22:24:30 +0000 | [diff] [blame] | 104 | help |
| 105 | Driver to provide access to the GPIO pins of the bcma bus. |
| 106 | |
| 107 | If unsure, say N |
| 108 | |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 109 | config BCMA_DEBUG |
| 110 | bool "BCMA debugging" |
Rafał Miłecki | 8369ae3 | 2011-05-09 18:56:46 +0200 | [diff] [blame] | 111 | help |
| 112 | This turns on additional debugging messages. |
| 113 | |
| 114 | If unsure, say N |
Randy Dunlap | 0f0a0af | 2017-09-27 13:01:49 -0700 | [diff] [blame^] | 115 | |
| 116 | endif # BCMA |