1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Generic MIPI DPI Panel
8
9maintainers:
10  - Sam Ravnborg <sam@ravnborg.org>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    description:
18      Shall contain a panel specific compatible and "panel-dpi"
19      in that order.
20    items:
21      - {}
22      - const: panel-dpi
23
24  backlight: true
25  enable-gpios: true
26  height-mm: true
27  label: true
28  panel-timing: true
29  port: true
30  power-supply: true
31  reset-gpios: true
32  width-mm: true
33
34required:
35  - panel-timing
36  - power-supply
37
38additionalProperties: false
39
40examples:
41  - |
42    panel {
43        compatible = "startek,startek-kd050c", "panel-dpi";
44        label = "osddisplay";
45        power-supply = <&vcc_supply>;
46        backlight = <&backlight>;
47
48        port {
49            lcd_in: endpoint {
50                remote-endpoint = <&dpi_out>;
51            };
52        };
53        panel-timing {
54            clock-frequency = <9200000>;
55            hactive = <800>;
56            vactive = <480>;
57            hfront-porch = <8>;
58            hback-porch = <4>;
59            hsync-len = <41>;
60            vback-porch = <2>;
61            vfront-porch = <4>;
62            vsync-len = <10>;
63
64            hsync-active = <0>;
65            vsync-active = <0>;
66            de-active = <1>;
67            pixelclk-active = <1>;
68        };
69    };
70
71...
72