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 <[email protected]> Acked-by: "Rob Herring (Arm)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5eb2d4b commit 48f9034

File tree

1 file changed

+3
-1
lines changed
  • Documentation/devicetree/bindings/serial

1 file changed

+3
-1
lines changed

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)