bianbu-linux-6.6/drivers/net/wireless/microchip/wilc1000
David Mosberger-Tang ec031ac479 wilc1000: Add reset/enable GPIO support to SPI driver
For the SDIO driver, the RESET/ENABLE pins of WILC1000 are controlled
through the SDIO power sequence driver.  This commit adds analogous
support for the SPI driver.  Specifically, during initialization, the
chip will be ENABLEd and taken out of RESET and during
deinitialization, the chip will be placed back into RESET and disabled
(both to reduce power consumption and to ensure the WiFi radio is
off).

Both RESET and ENABLE GPIOs are optional.  However, if the ENABLE GPIO
is specified, then the RESET GPIO should normally also be specified as
otherwise there is no way to ensure proper timing of the ENABLE/RESET
sequence.

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211221212531.4011609-2-davidm@egauge.net
2021-12-22 19:51:18 +02:00
..
cfg80211.c wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq" 2021-12-14 20:46:35 +02:00
cfg80211.h
fw.h wilc1000: use flexible-array member instead of zero-length array 2021-01-14 19:33:02 +02:00
hif.c wilc1000: Improve WILC TX performance when power_save is off 2021-12-16 10:30:21 +02:00
hif.h wilc1000: add new WID to pass wake_enable information to firmware 2021-09-21 18:08:15 +03:00
Kconfig wilc1000: Add support for enabling CRC 2021-04-17 20:47:40 +03:00
Makefile wilc1000: use API version number info along with firmware filename 2020-07-14 20:52:27 +03:00
mon.c cfg80211: change netdev registration/unregistration semantics 2021-01-22 16:28:39 +01:00
netdev.c wilc1000: fix double free error in probe() 2021-12-20 20:44:03 +02:00
netdev.h wilc1000: Convert static "chipid" variable to device-local variable 2021-12-22 19:50:50 +02:00
sdio.c wilc1000: fix double free error in probe() 2021-12-20 20:44:03 +02:00
spi.c wilc1000: Add reset/enable GPIO support to SPI driver 2021-12-22 19:51:18 +02:00
wlan.c wilc1000: Add reset/enable GPIO support to SPI driver 2021-12-22 19:51:18 +02:00
wlan.h wilc1000: Rename SPI driver from "WILC_SPI" to "wilc1000_spi" 2021-12-14 20:46:33 +02:00
wlan_cfg.c wilc1000: add new WID to pass wake_enable information to firmware 2021-09-21 18:08:15 +03:00
wlan_cfg.h
wlan_if.h wilc1000: configure registers to handle chip wakeup sequence 2021-09-21 18:08:15 +03:00