blob: 51bbf468fe45aa17679f7401bf1e02c4be0d1b52 [file] [log] [blame]
Johnny Kimc5c77ba2015-05-11 14:30:56 +09001config WILC1000
2 tristate "WILC1000 support (WiFi only)"
Greg Kroah-Hartman53a20e92015-06-26 12:04:47 -07003 depends on BROKEN
Guenter Roecke3cb7422015-05-27 21:32:43 -07004 depends on !S390
Arnd Bergmann9535ebc2015-05-28 16:35:42 +02005 depends on CFG80211 && WEXT_CORE && INET
6 depends on MMC || SPI
Johnny Kimc5c77ba2015-05-11 14:30:56 +09007 ---help---
Arnd Bergmann9535ebc2015-05-28 16:35:42 +02008 This module only support IEEE 802.11n WiFi.
Johnny Kimc5c77ba2015-05-11 14:30:56 +09009
10choice
11 prompt "Memory Allocation"
12 depends on WILC1000
13 default WILC1000_PREALLOCATE_AT_LOADING_DRIVER
14
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020015config 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 Kimc5c77ba2015-05-11 14:30:56 +090022
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020023config 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 Kimc5c77ba2015-05-11 14:30:56 +090029endchoice
30
Johnny Kimc5c77ba2015-05-11 14:30:56 +090031choice
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020032 prompt "Bus Type"
33 depends on WILC1000
34 default WILC1000_SDIO
35
Johnny Kimc5c77ba2015-05-11 14:30:56 +090036 config WILC1000_SDIO
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020037 bool "SDIO support"
38 depends on MMC
39 ---help---
Tony Cho5f8966d2015-07-28 17:47:21 +090040 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 Kimc5c77ba2015-05-11 14:30:56 +090048
49 config WILC1000_SPI
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020050 depends on SPI
51 bool "SPI support"
52 ---help---
Tony Cho5f8966d2015-07-28 17:47:21 +090053 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 Kimc5c77ba2015-05-11 14:30:56 +090060endchoice
61
Johnny Kimc5c77ba2015-05-11 14:30:56 +090062config WILC1000_HW_OOB_INTR
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020063 bool "Use out of band interrupt"
64 depends on WILC1000 && WILC1000_SDIO
65 default n
66 ---help---
Tony Cho5f8966d2015-07-28 17:47:21 +090067 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.