Re: [PATCH v7 1/2] wilc1000: Add reset/enable GPIO support to SPI driver
From: Kalle Valo
Date:  Wed Dec 22 2021 - 12:52:06 EST
David Mosberger-Tang <davidm@xxxxxxxxxx> wrote:
> 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@xxxxxxxxxx>
> Reviewed-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
2 patches applied to wireless-drivers-next.git, thanks.
ec031ac4792c wilc1000: Add reset/enable GPIO support to SPI driver
f31ee3c0a555 wilc1000: Document enable-gpios and reset-gpios properties
-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20211221212531.4011609-2-davidm@xxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches