Merge tag 'iommu-updates-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro...
[firefly-linux-kernel-4.4.55.git] / drivers / staging / wilc1000 / Kconfig
1 config WILC1000
2         tristate "WILC1000 support (WiFi only)"
3         depends on BROKEN
4         depends on !S390
5         depends on CFG80211 && WEXT_CORE && INET
6         depends on MMC || SPI
7         ---help---
8           This module only support IEEE 802.11n WiFi.
9
10 choice
11         prompt "Memory Allocation"
12         depends on WILC1000
13         default WILC1000_PREALLOCATE_AT_LOADING_DRIVER
14
15 config WILC1000_PREALLOCATE_AT_LOADING_DRIVER
16         bool "Preallocate memory at loading driver"
17         ---help---
18           This choice supports static allocation of the memory
19           for the receive buffer. The driver will allocate the RX buffer
20           during initial time. The driver will also free the buffer
21           by calling network device stop.
22
23 config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY
24         bool "Dynamically allocate memory in real time"
25         ---help---
26           This choice supports dynamic allocation of the memory
27           for the receive buffer. The driver will allocate the RX buffer
28           when it is required.
29 endchoice
30
31 choice
32         prompt "Bus Type"
33         depends on WILC1000
34         default WILC1000_SDIO
35
36         config WILC1000_SDIO
37         bool "SDIO support"
38         depends on MMC
39         ---help---
40           This module adds support for the SDIO interface of adapters using
41           WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
42           It meets SDIO card specification version 2.0. The interface supports
43           the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
44           The host can use this interface to read and write from any register
45           within the chip as well as configure the WILC1000 for data DMA.
46           To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
47           this if your platform is using the SDIO bus.
48
49         config WILC1000_SPI
50         depends on SPI
51         bool "SPI support"
52         ---help---
53           This module adds support for the SPI interface of adapters using
54           WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
55           Interface (SPI) that operates as a SPI slave. This SPI interface can
56           be used for control and for serial I/O of 802.11 data. The SPI is a
57           full-duplex slave synchronous serial interface that is available
58           immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
59           VDDIO. Select this if your platform is using the SPI bus.
60 endchoice
61
62 config WILC1000_HW_OOB_INTR
63         bool "Use out of band interrupt"
64         depends on WILC1000 && WILC1000_SDIO
65         default n
66         ---help---
67           This option enables out-of-band interrupt support for the WILC1000
68           chipset. This OOB interrupt is intended to provide a faster interrupt
69           mechanism for SDIO host controllers that don't support SDIO interrupt.
70           Select this option If the SDIO host controller in your platform
71           doesn't support SDIO time devision interrupt.