Skip to content

Commit 70a15ff

Browse files
seebegregkh
authored andcommitted
serial: sh-sci: Improve interrupts description
Describe interrupts property in more detail, especially when there are more than one interrupt. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 286d9b8 commit 70a15ff

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Documentation/devicetree/bindings/serial/renesas,sci-serial.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,21 @@ Required properties:
7373
family-specific and/or generic versions.
7474

7575
- reg: Base address and length of the I/O registers used by the UART.
76-
- interrupts: Must contain an interrupt-specifier for the SCIx interrupt.
76+
- interrupts: Must contain one or more interrupt-specifiers for the SCIx.
77+
If a single interrupt is expressed, then all events are
78+
multiplexed into this single interrupt.
79+
80+
If multiple interrupts are provided by the hardware, the order
81+
in which the interrupts are listed must match order below. Note
82+
that some HW interrupt events may be muxed together resulting
83+
in duplicate entries.
84+
The interrupt order is as follows:
85+
1. Error (ERI)
86+
2. Receive buffer full (RXI)
87+
3. Transmit buffer empty (TXI)
88+
4. Break (BRI)
89+
5. Data Ready (DRI)
90+
6. Transmit End (TEI)
7791

7892
- clocks: Must contain a phandle and clock-specifier pair for each entry
7993
in clock-names.

0 commit comments

Comments
 (0)