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: fa10224087 ("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
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Generic MIPI DPI Panel
|
|
|
|
maintainers:
|
|
- Sam Ravnborg <sam@ravnborg.org>
|
|
|
|
allOf:
|
|
- $ref: panel-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
description:
|
|
Shall contain a panel specific compatible and "panel-dpi"
|
|
in that order.
|
|
items:
|
|
- {}
|
|
- const: panel-dpi
|
|
|
|
backlight: true
|
|
enable-gpios: true
|
|
height-mm: true
|
|
label: true
|
|
panel-timing: true
|
|
port: true
|
|
power-supply: true
|
|
reset-gpios: true
|
|
width-mm: true
|
|
|
|
required:
|
|
- panel-timing
|
|
- power-supply
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
panel {
|
|
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
|
|
label = "osddisplay";
|
|
power-supply = <&vcc_supply>;
|
|
backlight = <&backlight>;
|
|
|
|
port {
|
|
lcd_in: endpoint {
|
|
remote-endpoint = <&dpi_out>;
|
|
};
|
|
};
|
|
panel-timing {
|
|
clock-frequency = <9200000>;
|
|
hactive = <800>;
|
|
vactive = <480>;
|
|
hfront-porch = <8>;
|
|
hback-porch = <4>;
|
|
hsync-len = <41>;
|
|
vback-porch = <2>;
|
|
vfront-porch = <4>;
|
|
vsync-len = <10>;
|
|
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
de-active = <1>;
|
|
pixelclk-active = <1>;
|
|
};
|
|
};
|
|
|
|
...
|