lkml.org 
[lkml]   [2024]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] dt-bindings: display: samsung,exynos5-dp: convert to DT Schema
On Thu, Mar 21, 2024 at 08:37:15AM +0100, Krzysztof Kozlowski wrote:
> On 20/03/2024 18:04, Conor Dooley wrote:
> > On Wed, Mar 13, 2024 at 07:28:55PM +0100, Krzysztof Kozlowski wrote:
> >
> >> + clock-names:
> >> + items:
> >> + - const: dp
> >
> >> + phy-names:
> >> + items:
> >> + - const: dp
> >
> > The items lists here are redundant when you only have a single item, no?
> > Isnt it just
> > phy-names:
> > const: dp
>
> Somehow the convention for properties was to define the list. Unlike for
> compatible where we use shorter syntax like you propose. Shall we change
> the approach and use shorter syntax in general?

I guess the difference is -names is usually more than 1 whereas
compatible is frequently only 1. Either way is fine I think.

Rob

\
 
 \ /
  Last update: 2024-05-27 15:58    [W:0.057 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site