[PATCH 2/2] dt-bindings: panel-simple-dsi: Add generic panel-dsi
Johan Adolfsson
Johan.Adolfsson at axis.com
Mon Apr 22 14:34:34 UTC 2024
-----Original Message-----
From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Sent: den 19 april 2024 01:05
To: Johan Adolfsson <Johan.Adolfsson at axis.com>; Neil Armstrong <neil.armstrong at linaro.org>; Jessica Zhang <quic_jesszhan at quicinc.com>; Sam Ravnborg <sam at ravnborg.org>; Maarten Lankhorst <maarten.lankhorst at linux.intel.com>; Maxime Ripard <mripard at kernel.org>; Thomas Zimmermann <tzimmermann at suse.de>; David Airlie <airlied at gmail.com>; Daniel Vetter <daniel at ffwll.ch>; Rob Herring <robh+dt at kernel.org>; Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>; Conor Dooley <conor+dt at kernel.org>; Thierry Reding <thierry.reding at gmail.com>
Cc: dri-devel at lists.freedesktop.org; linux-kernel at vger.kernel.org; devicetree at vger.kernel.org; kernel <kernel at axis.com>
Subject: Re: [PATCH 2/2] dt-bindings: panel-simple-dsi: Add generic panel-dsi
>On 18/04/2024 16:01, Johan Adolfsson wrote:
>> panel-dsi is similar to panel-dpi with overridable timings
>
>???
I guess a more correct description would be
"panel-dsi is a fallback in a similar way that panel-dpi is in panel-dpi.yaml .."?
...
>> a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yam
>> l
>> +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi
>> +++ .yaml
>> @@ -56,6 +56,8 @@ properties:
>> - samsung,sofef00
>> # Shangai Top Display Optoelectronics 7" TL070WSH30 1024x600 TFT LCD panel
>> - tdo,tl070wsh30
>> + # Generic dsi panel with timing overridable
>> + - panel-dsi
>
>? Devices are not generic. This is very confusing and commit msg does not help me. Compatibles *must* be specific, see writing-bindings.
I guess I see this a generic fallback, that handles any dsi panel as long as the correct timing etc is specified in devictree, similar to what panel-dpi is in panel-dpi.yaml
Maybe phrasing it similar to panel-dpi.yaml is better?
>Best regards,
>Krzysztof
Best regards
/Johan
More information about the dri-devel
mailing list