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