]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: serial: 8250: spacemit: fix clock property for K3 SoC
authorYixun Lan <dlan@kernel.org>
Wed, 4 Mar 2026 07:19:39 +0000 (07:19 +0000)
committerYixun Lan <dlan@kernel.org>
Fri, 13 Mar 2026 11:14:42 +0000 (11:14 +0000)
The UART of SpacemiT K3 SoC has same clock property as K1 generation which
request two clock sources, fix the binding otherwise will get DT check
warnings.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20260304-01-uart-clock-names-v1-1-338483f04a8b@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
Documentation/devicetree/bindings/serial/8250.yaml

index 73851f19330d7f9fc254efcd32b5977feada0b07..e9e07c2356bc9c70f113234b6a2152c87ccdfa74 100644 (file)
@@ -63,7 +63,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: spacemit,k1-uart
+            enum:
+              - spacemit,k1-uart
+              - spacemit,k3-uart
     then:
       properties:
         clock-names:
@@ -76,6 +78,7 @@ allOf:
           contains:
             enum:
               - spacemit,k1-uart
+              - spacemit,k3-uart
               - nxp,lpc1850-uart
     then:
       required: