summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenhua Lin <Wenhua.Lin@unisoc.com>2025-01-22 10:23:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-04 16:39:15 +0300
commit6bc8fbdd71008a85fdd427a6db6e0e779a177007 (patch)
treee87a60c64b5bdca470c1f187dce5d6a51b74ca80
parent42e128c9d5c5b6632c3b182afb7fab0957b6c337 (diff)
downloadlinux-6bc8fbdd71008a85fdd427a6db6e0e779a177007.tar.xz
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@unisoc.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250122072352.3663653-1-Wenhua.Lin@unisoc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--Documentation/devicetree/bindings/serial/sprd-uart.yaml9
1 files 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..5bf2656afcfd 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