Skip to content

Commit 0b62e8a

Browse files
committed
Merge branch 'linux-5.15-trunk/wsg+mpu/wilc' into linux-5.15-mchp
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2 parents ee5893a + 54179b0 commit 0b62e8a

23 files changed

Lines changed: 4722 additions & 1135 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
obj-$(CONFIG_WILC1000) += wilc1000/
2+
obj-$(CONFIG_WILC) += wilc1000/
Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,45 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
config WILC1000
2+
config WILC
33
tristate
4-
help
5-
Add support for the Atmel WILC1000 802.11 b/g/n SoC.
6-
This provides Wi-FI over an SDIO or SPI interface, and
7-
is usually found in IoT devices.
8-
9-
This module only support IEEE 802.11n WiFi.
104

11-
config WILC1000_SDIO
12-
tristate "Atmel WILC1000 SDIO (WiFi only)"
5+
config WILC_SDIO
6+
tristate "WILC SDIO"
137
depends on CFG80211 && INET && MMC
14-
select WILC1000
8+
select WILC
159
help
1610
This module adds support for the SDIO interface of adapters using
17-
WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
11+
WILC1000 & WILC3000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
1812
It meets SDIO card specification version 2.0. The interface supports
1913
the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
2014
The host can use this interface to read and write from any register
2115
within the chip as well as configure the WILC1000 for data DMA.
2216
To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
2317
this if your platform is using the SDIO bus.
18+
WILC3000 additionally supports BT 4.0 and BLE modes.
2419

25-
config WILC1000_SPI
26-
tristate "Atmel WILC1000 SPI (WiFi only)"
20+
config WILC_SPI
21+
tristate "WILC SPI"
2722
depends on CFG80211 && INET && SPI
28-
select WILC1000
23+
select WILC
2924
select CRC7
3025
select CRC_ITU_T
3126
help
3227
This module adds support for the SPI interface of adapters using
33-
WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
28+
WILC1000 & WILC3000 chipset. The Atmel WILC1000 has a Serial Peripheral
3429
Interface (SPI) that operates as a SPI slave. This SPI interface can
3530
be used for control and for serial I/O of 802.11 data. The SPI is a
3631
full-duplex slave synchronous serial interface that is available
3732
immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
3833
VDDIO. Select this if your platform is using the SPI bus.
34+
WILC3000 additionally supports BT 4.0 and BLE modes.
3935

40-
config WILC1000_HW_OOB_INTR
41-
bool "WILC1000 out of band interrupt"
42-
depends on WILC1000_SDIO
36+
config WILC_HW_OOB_INTR
37+
bool "WILC out of band interrupt"
38+
depends on WILC_SDIO
39+
default n
4340
help
44-
This option enables out-of-band interrupt support for the WILC1000
45-
chipset. This OOB interrupt is intended to provide a faster interrupt
46-
mechanism for SDIO host controllers that don't support SDIO interrupt.
47-
Select this option If the SDIO host controller in your platform
48-
doesn't support SDIO time division interrupt.
41+
This option enables out-of-band interrupt support for the WILC1000 &
42+
WILC3000 chipset. This OOB interrupt is intended to provide a faster
43+
interrupt mechanism for SDIO host controllers that don't support SDIO
44+
interrupt. Select this option If the SDIO host controller in your
45+
platform doesn't support SDIO time division interrupt.
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
obj-$(CONFIG_WILC1000) += wilc1000.o
2+
ccflags-y += -I$(src)/ -DWILC_DEBUGFS
33

4-
wilc1000-objs := cfg80211.o netdev.o mon.o \
5-
hif.o wlan_cfg.o wlan.o
4+
wilc-objs := cfg80211.o netdev.o mon.o \
5+
hif.o wlan_cfg.o wlan.o sysfs.o power.o bt.o debugfs.o
66

7-
obj-$(CONFIG_WILC1000_SDIO) += wilc1000-sdio.o
8-
wilc1000-sdio-objs += sdio.o
7+
obj-$(CONFIG_WILC_SDIO) += wilc-sdio.o
8+
wilc-sdio-objs += $(wilc-objs)
9+
wilc-sdio-objs += sdio.o
910

10-
obj-$(CONFIG_WILC1000_SPI) += wilc1000-spi.o
11-
wilc1000-spi-objs += spi.o
11+
obj-$(CONFIG_WILC_SPI) += wilc-spi.o
12+
wilc-spi-objs += $(wilc-objs)
13+
wilc-spi-objs += spi.o

0 commit comments

Comments
 (0)