serial: sh-sci: Improve interrupts description

This change “serial: sh-sci: Improve interrupts description” in Linux kernel is authored by Chris Brandt <chris.brandt [at]> on Tue Jul 31 05:41:36 2018 -0500.

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 <>
Reviewed-by: Geert Uytterhoeven <>
Reviewed-by: Rob Herring <>
Signed-off-by: Greg Kroah-Hartman <>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 70a15ff.

There are 16 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 .../devicetree/bindings/serial/renesas,sci-serial.txt    | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
index a7cda65..eaca9da 100644
--- a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
+++ b/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
@@ -73,7 +73,21 @@ Required properties:
     family-specific and/or generic versions.
   - reg: Base address and length of the I/O registers used by the UART.
-  - interrupts: Must contain an interrupt-specifier for the SCIx interrupt.
+  - interrupts: Must contain one or more interrupt-specifiers for the SCIx.
+                If a single interrupt is expressed, then all events are
+                multiplexed into this single interrupt.
+                If multiple interrupts are provided by the hardware, the order
+                in which the interrupts are listed must match order below. Note
+                that some HW interrupt events may be muxed together resulting
+                in duplicate entries.
+                The interrupt order is as follows:
+                  1. Error (ERI)
+                  2. Receive buffer full (RXI)
+                  3. Transmit buffer empty (TXI)
+                  4. Break (BRI)
+                  5. Data Ready (DRI)
+                  6. Transmit End (TEI)
   - clocks: Must contain a phandle and clock-specifier pair for each entry
     in clock-names.

The commit for this change in Linux stable tree is 70a15ff (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *