xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/mitsubishi,aa104xd12.yaml (revision f7c32ed617858bcd22f8d1b03199099d50125721)
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: lvds.yaml#
15
16properties:
17  compatible:
18    items:
19      - const: mitsubishi,aa104xd12
20      - {} # panel-lvds, but not listed here to avoid false select
21
22  vcc-supply:
23    description: Reference to the regulator powering the panel VCC pins.
24
25  data-mapping:
26    const: jeida-24
27
28  width-mm:
29    const: 210
30
31  height-mm:
32    const: 158
33
34  panel-timing: true
35  port: true
36
37additionalProperties: false
38
39required:
40  - compatible
41  - vcc-supply
42
43examples:
44  - |+
45
46    panel {
47      compatible = "mitsubishi,aa104xd12", "panel-lvds";
48      vcc-supply = <&vcc_3v3>;
49
50      width-mm = <210>;
51      height-mm = <158>;
52
53      data-mapping = "jeida-24";
54
55      panel-timing {
56        /* 1024x768 @65Hz */
57        clock-frequency = <65000000>;
58        hactive = <1024>;
59        vactive = <768>;
60        hsync-len = <136>;
61        hfront-porch = <20>;
62        hback-porch = <160>;
63        vfront-porch = <3>;
64        vback-porch = <29>;
65        vsync-len = <6>;
66      };
67
68      port {
69        panel_in: endpoint {
70          remote-endpoint = <&lvds_encoder>;
71        };
72      };
73    };
74
75...
76