[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa963fa9-e2d6-a7e1-8396-745de5f996d4@linaro.org>
Date: Wed, 8 Mar 2023 12:02:48 +0100
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Linus Walleij <linus.walleij@...aro.org>,
Jianhua Lu <lujianhua000@...il.com>
Cc: Thierry Reding <thierry.reding@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, phone-devel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: display/panel: Add Lenovo NT36523W
BOE panel
On 7.03.2023 23:08, Linus Walleij wrote:
> On Tue, Mar 7, 2023 at 2:26 PM Konrad Dybcio <konrad.dybcio@...aro.org> wrote:
>
>> Add bindings for the 2000x1200px IPS panel found on Lenovo Tab P11/
>> XiaoXin Pad devices.
>>
>> Reviewed-by: Rob Herring <robh@...nel.org>
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@...aro.org>
>
> (...)
>> +$id: http://devicetree.org/schemas/display/panel/lenovo,nt36523w-boe-j606.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: NT36523W BOE panel found on Lenovo J606 devices
>
> It's a Novatek NT36523 display controller-based device isn't it?
>
> I would reflect that in the title or at least the description.
>
>> +
>> +maintainers:
>> + - Konrad Dybcio <konrad.dybcio@...aro.org>
>> +
>> +allOf:
>> + - $ref: panel-common.yaml#
>> +
>> +properties:
>> + compatible:
>> + const: lenovo,nt36523w-boe-j606
>> +
>> + reg:
>> + maxItems: 1
>> + description: DSI virtual channel
>> +
>> + vddio-supply: true
>> + reset-gpios: true
>> + rotation: true
>> + port: true
>
> This is clearly (as can be seen from the magic in the driver) a
> Novatek NT36523 display controller, just configured differently.
> https://lore.kernel.org/lkml/20230220121258.10727-1-lujianhua000@gmail.com/T/
>
> Why can't you just modify the existing nt36523 binding from
> Jianhua Lu by e.g. making these two non-required:
>
> - vddpos-supply
> - vddneg-supply
>
> It would not be helpful for driver writers to have two different bindings
> for similar hardware hand having to write code to handle different
> properties depending on which binding is used, so please unify into
> one binding by cooperating with Jianhua.
I'll look into Jianhua's patchset and try to work atop that!
>
> Would it help if we merged Jianhua's binding so you can build on topYes please, the less out-of-tree dependencies the better..
>
> Yours,
> Linus Walleij
Powered by blists - more mailing lists