[PATCH] dt-bindings: display: panel-simple: Allow optional 'ports' property

Liu Ying victor.liu at nxp.com
Wed Nov 4 08:03:37 UTC 2020


Some simple panels have dual LVDS interfaces which receive even and odd
pixels respectively, like 'nlt,nl192108ac18-02d' and 'koe,tx26d202vm0bwa'.
So, let's allow optional 'ports' property so that pixel order can be got
via drm_of_lvds_get_dual_link_pixel_order() if it's child nodes 'port at 0'
and 'port at 1' contain 'dual-lvds-even-pixels' and 'dual-lvds-odd-pixels'
properties respectively.

Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: Sam Ravnborg <sam at ravnborg.org>
Cc: David Airlie <airlied at linux.ie>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: Rob Herring <robh+dt at kernel.org>
Signed-off-by: Liu Ying <victor.liu at nxp.com>
---
 Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index f9750b0..5ccb22b 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -288,6 +288,7 @@ properties:
   backlight: true
   enable-gpios: true
   port: true
+  ports: true
   power-supply: true
 
 additionalProperties: false
-- 
2.7.4



More information about the dri-devel mailing list