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>