15625f965SAjay Singh# SPDX-License-Identifier: GPL-2.0
25625f965SAjay Singhconfig WILC1000
35625f965SAjay Singh	tristate
45625f965SAjay Singh	help
55625f965SAjay Singh	  Add support for the Atmel WILC1000 802.11 b/g/n SoC.
65625f965SAjay Singh	  This provides Wi-FI over an SDIO or SPI interface, and
75625f965SAjay Singh	  is usually found in IoT devices.
85625f965SAjay Singh
95625f965SAjay Singh	  This module only support IEEE 802.11n WiFi.
105625f965SAjay Singh
115625f965SAjay Singhconfig WILC1000_SDIO
125625f965SAjay Singh	tristate "Atmel WILC1000 SDIO (WiFi only)"
135625f965SAjay Singh	depends on CFG80211 && INET && MMC
145625f965SAjay Singh	select WILC1000
155625f965SAjay Singh	help
165625f965SAjay Singh	  This module adds support for the SDIO interface of adapters using
175625f965SAjay Singh	  WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
185625f965SAjay Singh	  It meets SDIO card specification version 2.0. The interface supports
195625f965SAjay Singh	  the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
205625f965SAjay Singh	  The host can use this interface to read and write from any register
215625f965SAjay Singh	  within the chip as well as configure the WILC1000 for data DMA.
225625f965SAjay Singh	  To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
235625f965SAjay Singh	  this if your platform is using the SDIO bus.
245625f965SAjay Singh
255625f965SAjay Singhconfig WILC1000_SPI
265625f965SAjay Singh	tristate "Atmel WILC1000 SPI (WiFi only)"
275625f965SAjay Singh	depends on CFG80211 && INET && SPI
285625f965SAjay Singh	select WILC1000
295625f965SAjay Singh	select CRC7
30*c872e7aeSDavid Mosberger-Tang	select CRC_ITU_T
315625f965SAjay Singh	help
325625f965SAjay Singh	  This module adds support for the SPI interface of adapters using
335625f965SAjay Singh	  WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
345625f965SAjay Singh	  Interface (SPI) that operates as a SPI slave. This SPI interface can
355625f965SAjay Singh	  be used for control and for serial I/O of 802.11 data. The SPI is a
365625f965SAjay Singh	  full-duplex slave synchronous serial interface that is available
375625f965SAjay Singh	  immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
385625f965SAjay Singh	  VDDIO. Select this if your platform is using the SPI bus.
395625f965SAjay Singh
405625f965SAjay Singhconfig WILC1000_HW_OOB_INTR
415625f965SAjay Singh	bool "WILC1000 out of band interrupt"
425625f965SAjay Singh	depends on WILC1000_SDIO
435625f965SAjay Singh	help
445625f965SAjay Singh	  This option enables out-of-band interrupt support for the WILC1000
455625f965SAjay Singh	  chipset. This OOB interrupt is intended to provide a faster interrupt
465625f965SAjay Singh	  mechanism for SDIO host controllers that don't support SDIO interrupt.
475625f965SAjay Singh	  Select this option If the SDIO host controller in your platform
48e4c748eeSColin Ian King	  doesn't support SDIO time division interrupt.
49