[PATCH 0/2] spi: add wakeup handling to SPI core

From: Dmitry Torokhov
Date: Tue Nov 12 2019 - 00:54:18 EST


These patches add wakeup handling for SPI devices to SPI core, mirroring
I2C subsystem. Users can mark devices as "wakeup-source" in device tree
(or using static device properties) and SPI core will mark the primary
interrupt line as wakeirq and mark the device as wakeup enabled.

There is also an option to define a dedicated wake irq.


Dmitry Torokhov (2):
spi: dt-bindings: spi-controller: add wakeup-source and interrupts
spi: wire up wakeup-source/wakeirq handling

.../bindings/spi/spi-controller.yaml | 23 ++++++++++++++++
drivers/spi/spi.c | 27 ++++++++++++++++++-
2 files changed, 49 insertions(+), 1 deletion(-)

--
2.24.0.rc1.363.gb1bccd3e3d-goog