mbox series

[v4,0/2] Add reset/enable GPIO support to SPI driver

Message ID 20211214163315.3769677-1-davidm@egauge.net (mailing list archive)
Headers show
Series Add reset/enable GPIO support to SPI driver | expand

Message

David Mosberger-Tang Dec. 14, 2021, 4:33 p.m. UTC
I made a mistake last night when checking whether gpiod_set_value() is
safe to call with a NULL gpiod descriptor (it is).  v4 of the patch
just fixes that mistake.  It does simplify the code nicely.

This version also fixes the error handling when the reset gpio is
missing.

David Mosberger-Tang (2):
  wilc1000: Add reset/enable GPIO support to SPI driver
  wilc1000: Document enable-gpios and reset-gpios properties

 .../net/wireless/microchip,wilc1000.yaml      | 17 ++++++
 drivers/net/wireless/microchip/wilc1000/spi.c | 58 ++++++++++++++++++-
 .../net/wireless/microchip/wilc1000/wlan.c    |  2 +-
 3 files changed, 73 insertions(+), 4 deletions(-)