[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191112055412.192675-1-dmitry.torokhov@gmail.com>
Date: Mon, 11 Nov 2019 21:54:09 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org
Subject: [PATCH 0/2] spi: add wakeup handling to SPI core
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
Powered by blists - more mailing lists