]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: i3c: dw: Add apb clock binding
authorAniket <aniketmaurya@google.com>
Fri, 28 Jun 2024 15:45:26 +0000 (15:45 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 26 Jul 2024 12:21:29 +0000 (14:21 +0200)
Add dt binding for optional apb clock. Core clock is mandatory.

Signed-off-by: Aniket <aniketmaurya@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240628154526.324068-1-aniketmaurya@google.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml

index c0e805e531be231817bac96206b4e0624b4881bf..4fc13e3c0f75e7e9a63aff26c35b6593af59491a 100644 (file)
@@ -20,7 +20,16 @@ properties:
     maxItems: 1
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    items:
+      - description: Core clock
+      - description: APB clock
+
+  clock-names:
+    minItems: 1
+    items:
+      - const: core
+      - const: apb
 
   interrupts:
     maxItems: 1