Skip to content

Commit 48f9034

Browse files
dlan17gregkh
authored andcommitted
dt-bindings: serial: 8250: spacemit: set clocks property as required
In SpacemiT's K1 SoC, the clocks for UART are mandatory needed, so for DT, both clocks and clock-names property should be set as required. Fixes: 2c0594f ("dt-bindings: serial: 8250: support an optional second clock") Signed-off-by: Yixun Lan <dlan@gentoo.org> Acked-by: "Rob Herring (Arm)" <robh@kernel.org> Link: https://lore.kernel.org/r/20250718-01-k1-uart-binding-v1-1-a92e1e14c836@gentoo.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5eb2d4b commit 48f9034

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • Documentation/devicetree/bindings/serial

Documentation/devicetree/bindings/serial/8250.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ if:
272272
- spacemit,k1-uart
273273
- nxp,lpc1850-uart
274274
then:
275-
required: [clock-names]
275+
required:
276+
- clocks
277+
- clock-names
276278
properties:
277279
clocks:
278280
minItems: 2

0 commit comments

Comments
 (0)