[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e7ba92aa-c501-929b-6962-4cb4c6a1dc48@linaro.org>
Date: Wed, 6 Jul 2022 11:58:46 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Vidya Sagar <vidyas@...dia.com>, bhelgaas@...gle.com,
lorenzo.pieralisi@....com, robh+dt@...nel.org,
thierry.reding@...il.com, jonathanh@...dia.com
Cc: kishon@...com, vkoul@...nel.org, kw@...ux.com,
p.zabel@...gutronix.de, mperttunen@...dia.com,
linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-phy@...ts.infradead.org, kthota@...dia.com,
mmaddireddy@...dia.com, sagar.tv@...il.com,
Thierry Reding <treding@...dia.com>
Subject: Re: [PATCH V3 02/11] dt-bindings: pci: tegra: Convert to json-schema
On 06/07/2022 11:51, Vidya Sagar wrote:
>>> + phy-names:
>>> + minItems: 1
>>> + maxItems: 16
>>> + items:
>>> + pattern: "^p2u-[0-9]+$"
>>
>> No, because this allows any/unspecified order. Please list the items, so
>> the order is fixed.
>
> Not all controllers are going to have all of them specified. Number of
> these entries depend on the number of lanes assigned to that particular
> controller. In this scenario, I thought specifying it using 'pattern'
> should be fine. Please let me know if there is any other better way to
> specify this.
As I understood previous bindings and your message above, these are all
incremented by one, so just list them and drop maxItems.
Trim the context, it makes it easier to spot the actual response. You
quoted a lot above and a lot below. I do not know if there is something
more to discuss? Usually quote means there is but I could not find... If
there is, use replying style matching mailing list.
Best regards,
Krzysztof
Powered by blists - more mailing lists