Commit fa102240 authored by Sam Ravnborg's avatar Sam Ravnborg

dt-bindings: display: add data-mapping to panel-dpi

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.

v2:
  - drop lvds666 (Rob)
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200216181513.28109-5-sam@ravnborg.org
parent 4e840bea
...@@ -21,6 +21,15 @@ properties: ...@@ -21,6 +21,15 @@ properties:
- {} - {}
- const: panel-dpi - const: panel-dpi
data-mapping:
enum:
- rgb24
- rgb565
- bgr666
description: |
Describes the media format, how the display panel is connected
to the display interface.
backlight: true backlight: true
enable-gpios: true enable-gpios: true
height-mm: true height-mm: true
...@@ -43,7 +52,7 @@ examples: ...@@ -43,7 +52,7 @@ examples:
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
label = "osddisplay"; label = "osddisplay";
power-supply = <&vcc_supply>; power-supply = <&vcc_supply>;
data-mapping = "rgb565";
backlight = <&backlight>; backlight = <&backlight>;
port { port {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment