[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAODwPW_JbcppFGKvrooxf25dLJuvf5iWoWim1xSXZ2wqgL1k0A@mail.gmail.com>
Date: Tue, 22 Feb 2022 18:44:52 -0800
From: Julius Werner <jwerner@...omium.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Cc: Julius Werner <jwerner@...omium.org>,
Dmitry Osipenko <digetx@...il.com>, devicetree@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] dt-bindings: memory: lpddr2: Adjust revision ID
property to match lpddr3
> > + revision-id:
> > + $ref: /schemas/types.yaml#/definitions/uint32-array
> > + minItems: 2
> > + maxItems: 2
>
> You need maximum value under items. See:
> Documentation/devicetree/bindings/arm/l2c2x0.yaml
Sorry, can you clarify how this is supposed to be? Do you want
revision-id:
minItems: 2
maxItems: 2
items:
minItems: 2
maxItems: 2
or just
revision-id:
items:
minItems: 2
maxItems: 2
I see examples of both in the file you linked (and also examples of
what my original patch did). Is there any authoritative documentation
somewhere I can read that specifies which of those is correct? (I
tried looking at
https://json-schema.org/understanding-json-schema/reference/array.html#length
but I'm not sure if that's relevant here.)
For updating existing DTSes, do you want that in the same patch or a
separate patch in a series?
Powered by blists - more mailing lists