[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210422085837.513-2-thunder.leizhen@huawei.com>
Date: Thu, 22 Apr 2021 16:58:35 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Rob Herring <robh+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-serial <linux-serial@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH v2 1/3] dt-bindings: serial: Normalize the node name of the serial port
Only letters, digits, and commas that describe the base address of the
serial port in hexadecimal format are allowed.
Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
---
Documentation/devicetree/bindings/serial/serial.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index 65e75d040521..71aec7fda07d 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -21,7 +21,7 @@ description:
properties:
$nodename:
- pattern: "^serial(@.*)?$"
+ pattern: "^serial(@[0-9a-f,]+)?$"
cts-gpios:
maxItems: 1
--
2.21.1
Powered by blists - more mailing lists