blob: ee51b4278088994f5cb50df7ed7a99dfcbef2f84 [file] [log] [blame]
Arnd Bergmannbcc43a42015-10-16 22:45:39 +02001config WILC1000_DRIVER
2 bool "WILC1000 support (WiFi only)"
Arnd Bergmann9535ebc2015-05-28 16:35:42 +02003 depends on CFG80211 && WEXT_CORE && INET
Johnny Kimc5c77ba2015-05-11 14:30:56 +09004 ---help---
Arnd Bergmann9535ebc2015-05-28 16:35:42 +02005 This module only support IEEE 802.11n WiFi.
Johnny Kimc5c77ba2015-05-11 14:30:56 +09006
Arnd Bergmannbcc43a42015-10-16 22:45:39 +02007if WILC1000_DRIVER
8
9config WILC1000
10 tristate
11
Johnny Kimc5c77ba2015-05-11 14:30:56 +090012choice
13 prompt "Memory Allocation"
Johnny Kimc5c77ba2015-05-11 14:30:56 +090014 default WILC1000_PREALLOCATE_AT_LOADING_DRIVER
15
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020016config 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 Kimc5c77ba2015-05-11 14:30:56 +090023
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020024config 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 Kimc5c77ba2015-05-11 14:30:56 +090030endchoice
31
Johnny Kimc5c77ba2015-05-11 14:30:56 +090032choice
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020033 prompt "Bus Type"
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020034 default WILC1000_SDIO
35
Arnd Bergmannbcc43a42015-10-16 22:45:39 +020036config WILC1000_SDIO
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020037 bool "SDIO support"
38 depends on MMC
Arnd Bergmannbcc43a42015-10-16 22:45:39 +020039 select WILC1000
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020040 ---help---
Tony Cho5f8966d2015-07-28 17:47:21 +090041 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 Kimc5c77ba2015-05-11 14:30:56 +090049
Arnd Bergmannbcc43a42015-10-16 22:45:39 +020050config WILC1000_SPI
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020051 depends on SPI
Arnd Bergmannbcc43a42015-10-16 22:45:39 +020052 select WILC1000
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020053 bool "SPI support"
54 ---help---
Tony Cho5f8966d2015-07-28 17:47:21 +090055 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 Kimc5c77ba2015-05-11 14:30:56 +090062endchoice
63
Johnny Kimc5c77ba2015-05-11 14:30:56 +090064config WILC1000_HW_OOB_INTR
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020065 bool "Use out of band interrupt"
Arnd Bergmannbcc43a42015-10-16 22:45:39 +020066 depends on WILC1000_SDIO
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020067 default n
68 ---help---
Tony Cho5f8966d2015-07-28 17:47:21 +090069 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 Bergmannbcc43a42015-10-16 22:45:39 +020074
75endif