Thread (7 messages) flat view 7 messages, 2 authors, 22d ago

Re: [PATCH v4 1/4] dt-bindings: usb: generic-ohci: Document ST STM32MP2 SoC compatibles

From: Marek Vasut <hidden>
Date: 2026-08-31 14:10:40
Also in: linux-devicetree, linux-usb, lkml

On 8/31/26 11:01 AM, Krzysztof Kozlowski wrote:
On Fri, Aug 28, 2026 at 05:55:45PM +0200, Marek Vasut wrote:
quoted
    interrupts:
@@ -215,6 +220,22 @@ allOf:
          clocks:
            minItems: 1
            maxItems: 3
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - st,stm32mp23-ohci
+              - st,stm32mp25-ohci
+    then:
+      properties:
+        clocs:
typo
Fixed, thanks.
quoted
+          minItems: 2
+          maxItems: 2
Instead these two list clocks with description
Like this?
diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml 
b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
index 71537d268b075..7a8c3c2318153 100644
--- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
@@ -229,9 +229,10 @@ allOf:
                - st,stm32mp25-ohci
      then:
        properties:
-        clocs:
-          minItems: 2
-          maxItems: 2
+        clocks:
+          items:
+            - description: PHY clock
+            - description: Bus clock

        required:
          - access-controllers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help