Thread (2 messages) 2 messages, 2 authors, 2020-03-31
STALE2250d

[PATCH] dt-bindings: serial: Document serialN aliases

From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: 2020-03-25 09:54:46
Also in: linux-serial, lkml
Subsystem: open firmware and flattened device tree bindings, serial device bus, the rest, tty layer and serial drivers · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds, Greg Kroah-Hartman, Jiri Slaby

Document the format of aliases referring to UARTs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/serial/serial.yaml | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index dd97ecd1a7fe8ddd..53204d90d0c74ebd 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -15,6 +15,10 @@ description:
   device tree.  Whether these properties apply to a particular device depends
   on the DT bindings for the actual device.
 
+  Each enabled UART may have an optional "serialN" alias in the "aliases" node,
+  where N is the port number (non-negative decimal integer) as printed on the
+  label next to the physical port.
+
 properties:
   $nodename:
     pattern: "^serial(@.*)?$"
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help