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