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

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

From: Krzysztof Kozlowski <hidden>
Date: 2023-06-05 06:36:37
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-pm, linux-usb, lkml

On 03/06/2023 22:02, Varshini Rajendran wrote:
Document the property clock-names in the schema.

It fixes the dtbs_warning,
'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'
You cut too much from the warning. Which target/board?
quoted hunk ↗ jump to hunk
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
Not really, because we want them to be fixed, so you need to list the
items. But it seems this is not needed at all... which boards and
drivers use names?


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help