Add data-mapping property that can be used to specify
the media format used for the connection betwwen the
display controller (connector) and the panel.
Signed-off-by: Sam Ravnborg <redacted>
---
.../devicetree/bindings/display/panel/panel-dpi.yaml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
index 40079fc24a63..6a03d2449701 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
@@ -21,6 +21,16 @@ properties:
- {}
- const: panel-dpi
+ data-mapping:
+ enum:
+ - rgb24
+ - rgb565
+ - bgr666
+ - lvds666
+ description: |
+ Describes the media format, how the display panel is connected
+ to the display interface.
+
backlight: true
enable-gpios: true
height-mm: true@@ -43,7 +53,7 @@ examples:
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
label = "osddisplay";
power-supply = <&vcc_supply>;
-
+ data-mapping = "lvds666";
backlight = <&backlight>;
port {--
2.20.1