Thread (62 messages) 62 messages, 9 authors, 2023-06-16

Re: [PATCH 03/21] dt-bindings: usb: generic-ehci: Document clock-names property

From: Nicolas Ferre <nicolas.ferre@microchip.com>
Date: 2023-06-05 12:55:13
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-pm, linux-usb, lkml

On 03/06/2023 at 23:15, Conor Dooley wrote:
Hey Varshini,

On Sun, Jun 04, 2023 at 01:32:25AM +0530, Varshini Rajendran wrote:
quoted
Document the property clock-names in the schema.

It fixes the dtbs_warning,
s/dtbs_warning/dtbs_check warning/?
quoted
'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'
Does this fix a warning currently in the tree, or fix a warning
introduced by some patches in this series? (Or both?)
Our USB DT pattern is the same on all our newer SoC, to it mustn't be 
introduced by the addition of this one.

Best regards,
   Nicolas
quoted
Signed-off-by: Varshini Rajendran<redacted>
---
  Documentation/devicetree/bindings/usb/generic-ehci.yaml | 4 ++++
  1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index 7e486cc6cfb8..542ac26960fc 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -102,6 +102,10 @@ properties:
          - if a USB DRD channel: first clock should be host and second
            one should be peripheral
  
+  clock-names:
+    minItems: 1
+    maxItems: 4
+
    power-domains:
      maxItems: 1
  
-- 
2.25.1
-- 
Nicolas Ferre
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help