GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / display / panel / advantech,idk-1110wr.yaml
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/advantech,idk-1110wr.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Advantech IDK-1110WR 10.1" WSVGA LVDS Display Panel
8
9 maintainers:
10   - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
11   - Thierry Reding <thierry.reding@gmail.com>
12
13 allOf:
14   - $ref: panel-common.yaml#
15   - $ref: /schemas/display/lvds.yaml/#
16
17 select:
18   properties:
19     compatible:
20       contains:
21         const: advantech,idk-1110wr
22
23   required:
24     - compatible
25
26 properties:
27   compatible:
28     items:
29       - const: advantech,idk-1110wr
30       - const: panel-lvds
31
32   data-mapping:
33     const: jeida-24
34
35   width-mm:
36     const: 223
37
38   height-mm:
39     const: 125
40
41   panel-timing: true
42   port: true
43
44 additionalProperties: false
45
46 required:
47   - compatible
48   - data-mapping
49   - width-mm
50   - height-mm
51   - panel-timing
52   - port
53
54 examples:
55   - |+
56     panel {
57       compatible = "advantech,idk-1110wr", "panel-lvds";
58
59       width-mm = <223>;
60       height-mm = <125>;
61
62       data-mapping = "jeida-24";
63
64       panel-timing {
65         /* 1024x600 @60Hz */
66         clock-frequency = <51200000>;
67         hactive = <1024>;
68         vactive = <600>;
69         hsync-len = <240>;
70         hfront-porch = <40>;
71         hback-porch = <40>;
72         vsync-len = <10>;
73         vfront-porch = <15>;
74         vback-porch = <10>;
75       };
76
77       port {
78         panel_in: endpoint {
79           remote-endpoint = <&lvds_encoder>;
80         };
81       };
82     };
83
84 ...