[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250520200115.GB1261173-robh@kernel.org>
Date: Tue, 20 May 2025 15:01:15 -0500
From: Rob Herring <robh@...nel.org>
To: Charan Pedumuru <charan.pedumuru@...il.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-mmc@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] dt-bindings: mmc: ti-omap: convert text based binding
to json schema
On Tue, May 20, 2025 at 10:41:31AM +0530, Charan Pedumuru wrote:
>
>
> On 19-05-2025 21:36, Krzysztof Kozlowski wrote:
> > On 19/05/2025 15:11, Charan Pedumuru wrote:
> >> +
> >> + ti,hwmods:
> >> + maxItems: 1
> >> + items:
> >> + type: string
> >
> > That's not really correct. That's just a string, so no items, no
> > maxItems and use proper ref, not type string.
>
> Okay, I will define string definition using $ref
You can actually just omit it and just have 'pattern'. Anything that's a
pattern is implicitly a string.
Rob
Powered by blists - more mailing lists