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