Skip to content

Commit

Permalink
dt-bindings: display: add data-mapping to panel-dpi
Browse files Browse the repository at this point in the history
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: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200216181513.28109-5-sam@ravnborg.org
  • Loading branch information
Sam Ravnborg committed Feb 29, 2020
1 parent 4e840be commit fa10224
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ properties:
- {}
- 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
enable-gpios: true
height-mm: true
Expand All @@ -43,7 +52,7 @@ examples:
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
label = "osddisplay";
power-supply = <&vcc_supply>;
data-mapping = "rgb565";
backlight = <&backlight>;
port {
Expand Down

0 comments on commit fa10224

Please sign in to comment.