xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/mitsubishi,aa104xd12.yaml (revision 9978553d0199e7ec0bdd1c44fc7f6c7b0c11e43b)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel
8
9maintainers:
10  - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
11  - Thierry Reding <thierry.reding@gmail.com>
12
13allOf:
14  - $ref: panel-common.yaml#
15  - $ref: /schemas/display/lvds.yaml#
16
17select:
18  properties:
19    compatible:
20      contains:
21        const: mitsubishi,aa104xd12
22
23  required:
24    - compatible
25
26properties:
27  compatible:
28    items:
29      - const: mitsubishi,aa104xd12
30      - const: panel-lvds
31
32  vcc-supply:
33    description: Reference to the regulator powering the panel VCC pins.
34
35  data-mapping:
36    enum:
37      - jeida-18
38      - jeida-24
39
40  width-mm:
41    const: 210
42
43  height-mm:
44    const: 158
45
46  backlight: true
47  panel-timing: true
48  port: true
49
50additionalProperties: false
51
52required:
53  - compatible
54  - data-mapping
55  - width-mm
56  - height-mm
57  - panel-timing
58  - port
59
60examples:
61  - |+
62
63    panel {
64      compatible = "mitsubishi,aa104xd12", "panel-lvds";
65      vcc-supply = <&vcc_3v3>;
66
67      width-mm = <210>;
68      height-mm = <158>;
69
70      data-mapping = "jeida-24";
71
72      panel-timing {
73        /* 1024x768 @65Hz */
74        clock-frequency = <65000000>;
75        hactive = <1024>;
76        vactive = <768>;
77        hsync-len = <136>;
78        hfront-porch = <20>;
79        hback-porch = <160>;
80        vfront-porch = <3>;
81        vback-porch = <29>;
82        vsync-len = <6>;
83      };
84
85      port {
86        panel_in: endpoint {
87          remote-endpoint = <&lvds_encoder>;
88        };
89      };
90    };
91
92...
93