1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/apple,h7-display-pipe-mipi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Apple pre-DCP display controller MIPI interface
8
9maintainers:
10  - Sasha Finkelstein <fnkl.kernel@gmail.com>
11
12description:
13  The MIPI controller part of the pre-DCP Apple display controller
14
15allOf:
16  - $ref: dsi-controller.yaml#
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - apple,t8112-display-pipe-mipi
23          - apple,t8103-display-pipe-mipi
24      - const: apple,h7-display-pipe-mipi
25
26  reg:
27    maxItems: 1
28
29  power-domains:
30    maxItems: 1
31
32  ports:
33    $ref: /schemas/graph.yaml#/properties/ports
34
35    properties:
36      port@0:
37        $ref: /schemas/graph.yaml#/properties/port
38        description: Input port. Always connected to the primary controller
39
40      port@1:
41        $ref: /schemas/graph.yaml#/properties/port
42        description: Output MIPI DSI port to the panel
43
44    required:
45      - port@0
46      - port@1
47
48required:
49  - compatible
50  - reg
51  - ports
52
53unevaluatedProperties: false
54
55examples:
56  - |
57    dsi@28200000 {
58        compatible = "apple,t8103-display-pipe-mipi", "apple,h7-display-pipe-mipi";
59        reg = <0x28200000 0xc000>;
60        power-domains = <&ps_dispdfr_mipi>;
61
62        ports {
63            #address-cells = <1>;
64            #size-cells = <0>;
65
66            port@0 {
67                reg = <0>;
68
69                dfr_adp_out_mipi: endpoint {
70                    remote-endpoint = <&dfr_adp_out_mipi>;
71                };
72            };
73
74            port@1 {
75                reg = <1>;
76
77                dfr_panel_in: endpoint {
78                    remote-endpoint = <&dfr_mipi_out_panel>;
79                };
80            };
81        };
82    };
83...
84