Re: [PATCH 2/3] dt-bindings: display: Add bindings for EBBG FT8719

From: Krzysztof Kozlowski
Date: Mon May 09 2022 - 02:48:23 EST


On 09/05/2022 07:08, Joel Selvaraj wrote:
> Hi Krzysztof Kozlowski,
>
> A quick question.
>
> On 07/05/22 21:02, Krzysztof Kozlowski wrote:
> >> + backlight: true
> >> + port: true
> >
> > Both should not be needed - they come from panel-common.yaml. They might
> > stay in list
>
> I see that almost 54 panels mention "port: true" and 46 panels mention
> "backlight: true". Almost all panels refer the panel-common.yaml too.

They need them only if they use "additionalProperties:false".
>
> So I think specifying them as true is just for extra clarity that
> these properties are usually used by this panel? But I am not very sure.

If they don't use additionalProperties:false, then the explanation could be:
1. Just for clarity as you say, because they might want to require
property/node which is listed in the properties, otherwise it is a bit
confusing.
2. They were copying first example without actually checking...

> Should I leave them be? or it's still recommended to remove them?

It's not a big deal and I do not have strong opinion, but I would
propose to remove them from list of properties and still keep port in
"required"


Best regards,
Krzysztof