Thread (34 messages) 34 messages, 7 authors, 2021-10-20

Re: [PATCH v4 1/4] dt-bindings: clk: sprd: Add bindings for ums512 clock controller

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-10-13 14:23:32
Also in: linux-clk, lkml

Hi Chunyan.

On Thu, Sep 23, 2021 at 8:42 AM Chunyan Zhang [off-list ref] wrote:
From: Chunyan Zhang <redacted>

Add a new bindings to describe ums512 clock compatible strings.

Signed-off-by: Chunyan Zhang <redacted>
Thanks for your patch!
quoted hunk ↗ jump to hunk
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml
+  clock-names:
+    minItems: 1
+    maxItems: 4
After applying this to my local tree, as it is a dependency for 2/4 in
for-mfd-next:

    Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml:
properties:clock-names: {'required': ['maxItems']} is not allowed for
{'minItems': 1, 'maxItems': 4, 'items': [{'const': 'ext-26m'},
{'const': 'ext-32k'}, {'const': 'ext-4m'}, {'const': 'rco-100m'}]}
    hint: "maxItems" is not needed with an "items" list
    from schema $id: http://devicetree.org/meta-schemas/items.yaml#

so please drop the maxItems 4.

+    items:
+      - const: ext-26m
+      - const: ext-32k
+      - const: ext-4m
+      - const: rco-100m
+
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help