Thread (5 messages) 5 messages, 3 authors, 2021-12-08

Re: [PATCH] wilc1000: Add reset/enable GPIO support to SPI driver

flat view

From: <Ajay.Kathat@microchip.com>
Date: 2021-12-02 15:58:47
Also in: linux-devicetree, linux-wireless, lkml

On 02/12/21 09:25, David Mosberger-Tang wrote:
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

This patch is based on similar code from the linux4sam/linux-at91 GIT
repository.

For the SDIO driver, the RESET/ENABLE pins of WILC1000 may be
controlled through the SDIO power sequence driver.  This commit adds
analogous support for the SPI driver.  Specifically, during bus
probing, the chip will be reset-cycled and during unloading, the chip
will be placed 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 also must be specified as otherwise
there is no way to ensure proper timing of the ENABLE/RESET sequence.

Signed-off-by: David Mosberger-Tang <redacted>

Thanks!


Acked-by: Ajay Singh <ajay.kathat@microchip.com>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help