[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250121115404.3612588-1-Wenhua.Lin@unisoc.com>
Date: Tue, 21 Jan 2025 19:54:04 +0800
From: Wenhua Lin <Wenhua.Lin@...soc.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby
<jirislaby@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski
<krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
CC: Orson Zhai <orsonzhai@...il.com>,
Baolin Wang
<baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>, Cixi
Geng <cixi.geng@...ux.dev>,
<linux-kernel@...r.kernel.org>, <linux-serial@...r.kernel.org>,
<devicetree@...r.kernel.org>, wenhua lin
<wenhua.lin1994@...il.com>,
Wenhua Lin <Wenhua.Lin@...soc.com>,
Xiongpeng Wu
<xiongpeng.wu@...soc.com>,
Zhaochen Su <Zhaochen.Su@...soc.com>,
Zhirong Qiu
<Zhirong.Qiu@...soc.com>
Subject: [PATCH V3] dt-bindings: serial: Add a new compatible string for UMS9632
The UART IP version of the ums9632 SoC project has been upgraded.
UART controller registers have added valid bits to support new features.
In order to distinguish different UART IP versions, we use sc9632-uart
to represent upgraded IP and sc9836-uart to represent old IP.
Signed-off-by: Wenhua Lin <Wenhua.Lin@...soc.com>
---
V2->V3 changes:
* Lists are ordered by fallback.
* Combine two const items into enum.
* Change commit message.
V1->V2 changes:
* Modify the compatible string of enum.
* Change commit message.
---
Documentation/devicetree/bindings/serial/sprd-uart.yaml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/sprd-uart.yaml b/Documentation/devicetree/bindings/serial/sprd-uart.yaml
index a2a5056eba04..ad968fc2493b 100644
--- a/Documentation/devicetree/bindings/serial/sprd-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/sprd-uart.yaml
@@ -17,13 +17,18 @@ properties:
oneOf:
- items:
- enum:
- - sprd,sc9632-uart
+ - sprd,ums9632-uart
+ - const: sprd,sc9632-uart
+ - items:
+ - enum:
- sprd,sc9860-uart
- sprd,sc9863a-uart
- sprd,ums512-uart
- sprd,ums9620-uart
- const: sprd,sc9836-uart
- - const: sprd,sc9836-uart
+ - enum:
+ - sprd,sc9632-uart
+ - sprd,sc9836-uart
reg:
maxItems: 1
--
2.34.1
Powered by blists - more mailing lists