1# SPDX-License-Identifier: GPL-2.0
2config WILC1000
3	tristate
4	help
5	  Add support for the Atmel WILC1000 802.11 b/g/n SoC.
6	  This provides Wi-FI over an SDIO or SPI interface, and
7	  is usually found in IoT devices.
8
9	  This module only support IEEE 802.11n WiFi.
10
11config WILC1000_SDIO
12	tristate "Atmel WILC1000 SDIO (WiFi only)"
13	depends on CFG80211 && INET && MMC
14	select WILC1000
15	help
16	  This module adds support for the SDIO interface of adapters using
17	  WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
18	  It meets SDIO card specification version 2.0. The interface supports
19	  the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
20	  The host can use this interface to read and write from any register
21	  within the chip as well as configure the WILC1000 for data DMA.
22	  To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
23	  this if your platform is using the SDIO bus.
24
25config WILC1000_SPI
26	tristate "Atmel WILC1000 SPI (WiFi only)"
27	depends on CFG80211 && INET && SPI
28	select WILC1000
29	select CRC7
30	help
31	  This module adds support for the SPI interface of adapters using
32	  WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
33	  Interface (SPI) that operates as a SPI slave. This SPI interface can
34	  be used for control and for serial I/O of 802.11 data. The SPI is a
35	  full-duplex slave synchronous serial interface that is available
36	  immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
37	  VDDIO. Select this if your platform is using the SPI bus.
38
39config WILC1000_HW_OOB_INTR
40	bool "WILC1000 out of band interrupt"
41	depends on WILC1000_SDIO
42	help
43	  This option enables out-of-band interrupt support for the WILC1000
44	  chipset. This OOB interrupt is intended to provide a faster interrupt
45	  mechanism for SDIO host controllers that don't support SDIO interrupt.
46	  Select this option If the SDIO host controller in your platform
47	  doesn't support SDIO time division interrupt.
48