summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@kernel.org>2026-03-04 10:19:39 +0300
committerYixun Lan <dlan@kernel.org>2026-03-13 14:14:42 +0300
commit606a6b8bca570aa4f838ddd410345a2937bd98eb (patch)
treef3ff669208d5e9f1d7d618d028953bfec9e32d3e
parent86314111f654310a69c9775e35e263c036031675 (diff)
downloadlinux-606a6b8bca570aa4f838ddd410345a2937bd98eb.tar.xz
dt-bindings: serial: 8250: spacemit: fix clock property for K3 SoC
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>
-rw-r--r--Documentation/devicetree/bindings/serial/8250.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index 73851f19330d..e9e07c2356bc 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -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: