dt-bindings: display: panel: one file of all simple LVDS panels with dual ports
authorLiu Ying <victor.liu@nxp.com>
Thu, 11 Feb 2021 04:27:52 +0000 (12:27 +0800)
committerRob Herring <robh@kernel.org>
Thu, 28 Sep 2023 19:59:49 +0000 (14:59 -0500)
commit482b9626b95c4f8e5f7f3a9054b496eec4edc8fe
tree9a34225ce4667c34c50cbae09a5bbb26ae64d83a
parent44a7f34dd8ef9b8dbcceab33ee2d2841bf38d60d
dt-bindings: display: panel: one file of all simple LVDS panels with dual ports

To complement panel-simple.yaml, create panel-simple-lvds-dual-ports.yaml.
panel-simple-lvds-dual-ports.yaml is for all simple LVDS panels that
have dual LVDS ports and require only a single power-supply.
The first port receives odd pixels, and the second port receives even pixels.
Optionally, a backlight and an enable GPIO can be specified as properties.

Panels with swapped pixel order, if any, need dedicated bindings.

Migrate 'auo,g133han01', 'auo,g185han01', 'auo,g190ean01',
'koe,tx26d202vm0bwa' and 'nlt,nl192108ac18-02d' over to the new file.

The objectives with one file for all the simple LVDS panels with dual ports are:
- Make it simpler to add bindings for this kind of LVDS panels
- Keep the number of bindings file lower
- Keep the binding documentation for this kind of LVDS panels more consistent
- Make it possible for drivers to get pixel order via
  drm_of_lvds_get_dual_link_pixel_order(), as the 'ports' property is required

Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1613017672-2734-1-git-send-email-victor.liu@nxp.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/display/panel/panel-simple.yaml