18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciconfig WILC1000
38c2ecf20Sopenharmony_ci	tristate
48c2ecf20Sopenharmony_ci	help
58c2ecf20Sopenharmony_ci	  Add support for the Atmel WILC1000 802.11 b/g/n SoC.
68c2ecf20Sopenharmony_ci	  This provides Wi-FI over an SDIO or SPI interface, and
78c2ecf20Sopenharmony_ci	  is usually found in IoT devices.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci	  This module only support IEEE 802.11n WiFi.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciconfig WILC1000_SDIO
128c2ecf20Sopenharmony_ci	tristate "Atmel WILC1000 SDIO (WiFi only)"
138c2ecf20Sopenharmony_ci	depends on CFG80211 && INET && MMC
148c2ecf20Sopenharmony_ci	select WILC1000
158c2ecf20Sopenharmony_ci	help
168c2ecf20Sopenharmony_ci	  This module adds support for the SDIO interface of adapters using
178c2ecf20Sopenharmony_ci	  WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
188c2ecf20Sopenharmony_ci	  It meets SDIO card specification version 2.0. The interface supports
198c2ecf20Sopenharmony_ci	  the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
208c2ecf20Sopenharmony_ci	  The host can use this interface to read and write from any register
218c2ecf20Sopenharmony_ci	  within the chip as well as configure the WILC1000 for data DMA.
228c2ecf20Sopenharmony_ci	  To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
238c2ecf20Sopenharmony_ci	  this if your platform is using the SDIO bus.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig WILC1000_SPI
268c2ecf20Sopenharmony_ci	tristate "Atmel WILC1000 SPI (WiFi only)"
278c2ecf20Sopenharmony_ci	depends on CFG80211 && INET && SPI
288c2ecf20Sopenharmony_ci	select WILC1000
298c2ecf20Sopenharmony_ci	select CRC7
308c2ecf20Sopenharmony_ci	help
318c2ecf20Sopenharmony_ci	  This module adds support for the SPI interface of adapters using
328c2ecf20Sopenharmony_ci	  WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
338c2ecf20Sopenharmony_ci	  Interface (SPI) that operates as a SPI slave. This SPI interface can
348c2ecf20Sopenharmony_ci	  be used for control and for serial I/O of 802.11 data. The SPI is a
358c2ecf20Sopenharmony_ci	  full-duplex slave synchronous serial interface that is available
368c2ecf20Sopenharmony_ci	  immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
378c2ecf20Sopenharmony_ci	  VDDIO. Select this if your platform is using the SPI bus.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig WILC1000_HW_OOB_INTR
408c2ecf20Sopenharmony_ci	bool "WILC1000 out of band interrupt"
418c2ecf20Sopenharmony_ci	depends on WILC1000_SDIO
428c2ecf20Sopenharmony_ci	help
438c2ecf20Sopenharmony_ci	  This option enables out-of-band interrupt support for the WILC1000
448c2ecf20Sopenharmony_ci	  chipset. This OOB interrupt is intended to provide a faster interrupt
458c2ecf20Sopenharmony_ci	  mechanism for SDIO host controllers that don't support SDIO interrupt.
468c2ecf20Sopenharmony_ci	  Select this option If the SDIO host controller in your platform
478c2ecf20Sopenharmony_ci	  doesn't support SDIO time devision interrupt.
48