162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig WILC1000
362306a36Sopenharmony_ci	tristate
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	  Add support for the Atmel WILC1000 802.11 b/g/n SoC.
662306a36Sopenharmony_ci	  This provides Wi-FI over an SDIO or SPI interface, and
762306a36Sopenharmony_ci	  is usually found in IoT devices.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	  This module only support IEEE 802.11n WiFi.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig WILC1000_SDIO
1262306a36Sopenharmony_ci	tristate "Atmel WILC1000 SDIO (WiFi only)"
1362306a36Sopenharmony_ci	depends on CFG80211 && INET && MMC
1462306a36Sopenharmony_ci	select WILC1000
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  This module adds support for the SDIO interface of adapters using
1762306a36Sopenharmony_ci	  WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
1862306a36Sopenharmony_ci	  It meets SDIO card specification version 2.0. The interface supports
1962306a36Sopenharmony_ci	  the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
2062306a36Sopenharmony_ci	  The host can use this interface to read and write from any register
2162306a36Sopenharmony_ci	  within the chip as well as configure the WILC1000 for data DMA.
2262306a36Sopenharmony_ci	  To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
2362306a36Sopenharmony_ci	  this if your platform is using the SDIO bus.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig WILC1000_SPI
2662306a36Sopenharmony_ci	tristate "Atmel WILC1000 SPI (WiFi only)"
2762306a36Sopenharmony_ci	depends on CFG80211 && INET && SPI
2862306a36Sopenharmony_ci	select WILC1000
2962306a36Sopenharmony_ci	select CRC7
3062306a36Sopenharmony_ci	select CRC_ITU_T
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  This module adds support for the SPI interface of adapters using
3362306a36Sopenharmony_ci	  WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
3462306a36Sopenharmony_ci	  Interface (SPI) that operates as a SPI slave. This SPI interface can
3562306a36Sopenharmony_ci	  be used for control and for serial I/O of 802.11 data. The SPI is a
3662306a36Sopenharmony_ci	  full-duplex slave synchronous serial interface that is available
3762306a36Sopenharmony_ci	  immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
3862306a36Sopenharmony_ci	  VDDIO. Select this if your platform is using the SPI bus.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig WILC1000_HW_OOB_INTR
4162306a36Sopenharmony_ci	bool "WILC1000 out of band interrupt"
4262306a36Sopenharmony_ci	depends on WILC1000_SDIO
4362306a36Sopenharmony_ci	help
4462306a36Sopenharmony_ci	  This option enables out-of-band interrupt support for the WILC1000
4562306a36Sopenharmony_ci	  chipset. This OOB interrupt is intended to provide a faster interrupt
4662306a36Sopenharmony_ci	  mechanism for SDIO host controllers that don't support SDIO interrupt.
4762306a36Sopenharmony_ci	  Select this option If the SDIO host controller in your platform
4862306a36Sopenharmony_ci	  doesn't support SDIO time division interrupt.
49