xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/mitsubishi,aa104xd12.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
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    const: jeida-24
37
38  width-mm:
39    const: 210
40
41  height-mm:
42    const: 158
43
44  panel-timing: true
45  port: true
46
47additionalProperties: false
48
49required:
50  - compatible
51  - vcc-supply
52  - data-mapping
53  - width-mm
54  - height-mm
55  - panel-timing
56  - port
57
58examples:
59  - |+
60
61    panel {
62      compatible = "mitsubishi,aa104xd12", "panel-lvds";
63      vcc-supply = <&vcc_3v3>;
64
65      width-mm = <210>;
66      height-mm = <158>;
67
68      data-mapping = "jeida-24";
69
70      panel-timing {
71        /* 1024x768 @65Hz */
72        clock-frequency = <65000000>;
73        hactive = <1024>;
74        vactive = <768>;
75        hsync-len = <136>;
76        hfront-porch = <20>;
77        hback-porch = <160>;
78        vfront-porch = <3>;
79        vback-porch = <29>;
80        vsync-len = <6>;
81      };
82
83      port {
84        panel_in: endpoint {
85          remote-endpoint = <&lvds_encoder>;
86        };
87      };
88    };
89
90...
91