Thread (1 message) 1 message, 1 author, 2011-12-20

[PATCH 1/2] gpio: add a driver for the Synopsys DesignWare APB GPIO block

From: Mark Brown <hidden>
Date: 2011-12-20 14:48:27
Also in: linux-devicetree

On Sun, Dec 18, 2011 at 10:13:48AM +0000, Jamie Iles wrote:
+- #interrupt-cells : Specifies the number of cells needed to encode an
+interrupt.  Shall be set to 2.  The first cell defines the interrupt number,
+the second encodes the triger flags encoded as:
+	bits[3:0] trigger type and level flags.
+		1 = low-to-high edge triggered
+		2 = high-to-low edge triggered
+		4 = active high level-sensitive
+		8 = active low level-sensitive
This appears to be a direct encoding of the Linux IRQF_ flags which is
sensible and I understand some other drivers are using too.  To
encourage people to follow this standard unless they've got a reason not
to could you please split this out into a separate document and
reference it?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help