Thread (7 messages) 7 messages, 2 authors, 2021-02-10

Re: [PATCH 1/2] dt-bindings: usb: dwc2: Add support for additional clock

From: Rob Herring <robh@kernel.org>
Date: 2021-02-09 16:49:32
Also in: linux-usb

On Mon, Jan 25, 2021 at 10:38:24AM +0100, Sascha Hauer wrote:
This adds support for an additional clock for the dwc2 core in case
there is another clock to the phy which must be enabled.
to the phy? 'clocks' is inputs to DWC2. Shouldn't there be a phy 
device/driver?
quoted hunk ↗ jump to hunk
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 Documentation/devicetree/bindings/usb/dwc2.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml
index e5ee51b7b470..56dd0d18d535 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc2.yaml
@@ -57,11 +57,14 @@ properties:
     maxItems: 1
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    maxItems: 2
 
   clock-names:
     items:
       - const: otg
+      - const: phy
+    minItems: 1
 
   resets:
     items:
-- 
2.20.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help