[PATCH v2 2/3] dt-bindings: usb: starfive,jhb100-dwc3: Add clock number limit

From: Minda Chen

Date: Tue Nov 03 2026 - 01:49:22 EST


StarFive JHB100 device controller do not connect with PHY
but connect with digital adapter module. So it do not
contain core reference clock. So the minimal clock number is 2
(glue layer main enable clock and dwc3 core bus clk). So Add
minItem 2 to clock and clock-names items.

Signed-off-by: Minda Chen <minda.chen@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml b/Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml
index bbaefad3b400..1fc73ba67394 100644
--- a/Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml
@@ -35,12 +35,14 @@ properties:
maxItems: 1

clocks:
+ minItems: 2
items:
- description: USB main enable clk
- description: DWC3 bus early clock
- description: DWC3 ref clock

clock-names:
+ minItems: 2
items:
- const: main
- const: bus_early
--
2.17.1