lkml.org 
[lkml]   [2019]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] spi: dt-bindings: spi-controller: add wakeup-source and interrupts
On Mon, Nov 11, 2019 at 09:54:10PM -0800, Dmitry Torokhov wrote:

> + interrupts:
> + items:
> + - description: main interrupt (attention) line.
> + - description: dedicated wakeup interrupt.
> + minItems: 1 # The wakeup interrupt is optional.
> + description:
> + Specifies interrupt lines a device is connected to. Typically a
> + device is wired to a single interrupt line that is used as
> + "attention" signal and also to wake up system when device is
> + set up as wakeup source. However on some systems a dedicated
> + wakeup line might be used.

> + interrupt-names:
> + items:
> + - const: irq
> + - const: wakeup
> + minItems: 1

How will this interact with a SPI device that defines interrupts at the
device level, possibly more than one of them? Especially if the device
has its own idea what the interrupts should be called.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-11-12 13:03    [W:0.128 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site