]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: display: drop data-mapping from panel-dpi
authorSam Ravnborg <sam@ravnborg.org>
Sat, 14 Mar 2020 15:30:45 +0000 (16:30 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 25 Mar 2020 20:58:32 +0000 (21:58 +0100)
data-mapping may not be the best way to describe the
data format used between panels and display interface.

Drop it from the panel-dpi binding so we do not start to rely on it.
We can then work out how to best describe this mapping and when
we know it, we can add it to this binding.

Fixes: 3b9b7fdfa5ad ("dt-bindings: display: add data-mapping to panel-dpi")
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200314153047.2486-2-sam@ravnborg.org
Documentation/devicetree/bindings/display/panel/panel-dpi.yaml

index f63870384c00f113689a116f082b7795f2b2a885..0cd74c8dab420b5ef80bdef19048edb56f6fc882 100644 (file)
@@ -21,15 +21,6 @@ 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
@@ -52,7 +43,6 @@ examples:
         compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
         label = "osddisplay";
         power-supply = <&vcc_supply>;
-        data-mapping = "rgb565";
         backlight = <&backlight>;
 
         port {