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: 2c0594f9f0 ("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>
This commit is contained in:
Yixun Lan
2025-07-18 23:04:37 +08:00
committed by Greg Kroah-Hartman
parent 5eb2d4b3e9
commit 48f9034e02

View File

@@ -272,7 +272,9 @@ if:
- spacemit,k1-uart
- nxp,lpc1850-uart
then:
required: [clock-names]
required:
- clocks
- clock-names
properties:
clocks:
minItems: 2