Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 1 | config WILC1000 |
| 2 | tristate "WILC1000 support (WiFi only)" |
Greg Kroah-Hartman | 53a20e9 | 2015-06-26 12:04:47 -0700 | [diff] [blame] | 3 | depends on BROKEN |
Guenter Roeck | e3cb742 | 2015-05-27 21:32:43 -0700 | [diff] [blame] | 4 | depends on !S390 |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 5 | depends on CFG80211 && WEXT_CORE && INET |
| 6 | depends on MMC || SPI |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 7 | ---help--- |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 8 | This module only support IEEE 802.11n WiFi. |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 9 | |
| 10 | choice |
| 11 | prompt "Memory Allocation" |
| 12 | depends on WILC1000 |
| 13 | default WILC1000_PREALLOCATE_AT_LOADING_DRIVER |
| 14 | |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 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. |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 22 | |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 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. |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 29 | endchoice |
| 30 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 31 | choice |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 32 | prompt "Bus Type" |
| 33 | depends on WILC1000 |
| 34 | default WILC1000_SDIO |
| 35 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 36 | config WILC1000_SDIO |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 37 | bool "SDIO support" |
| 38 | depends on MMC |
| 39 | ---help--- |
Tony Cho | 5f8966d | 2015-07-28 17:47:21 +0900 | [diff] [blame] | 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. |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 48 | |
| 49 | config WILC1000_SPI |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 50 | depends on SPI |
| 51 | bool "SPI support" |
| 52 | ---help--- |
Tony Cho | 5f8966d | 2015-07-28 17:47:21 +0900 | [diff] [blame] | 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. |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 60 | endchoice |
| 61 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 62 | config WILC1000_HW_OOB_INTR |
Arnd Bergmann | 9535ebc | 2015-05-28 16:35:42 +0200 | [diff] [blame] | 63 | bool "Use out of band interrupt" |
| 64 | depends on WILC1000 && WILC1000_SDIO |
| 65 | default n |
| 66 | ---help--- |
Tony Cho | 5f8966d | 2015-07-28 17:47:21 +0900 | [diff] [blame] | 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. |