WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / panel-dpi.yaml
blob0cd74c8dab420b5ef80bdef19048edb56f6fc882
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#
7 title: Generic MIPI DPI Panel
9 maintainers:
10   - Sam Ravnborg <sam@ravnborg.org>
12 allOf:
13   - $ref: panel-common.yaml#
15 properties:
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
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
34 required:
35   - panel-timing
36   - power-supply
38 additionalProperties: false
40 examples:
41   - |
42     panel {
43         compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
44         label = "osddisplay";
45         power-supply = <&vcc_supply>;
46         backlight = <&backlight>;
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>;
64             hsync-active = <0>;
65             vsync-active = <0>;
66             de-active = <1>;
67             pixelclk-active = <1>;
68         };
69     };
71 ...