xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/intel,keembay-dsi.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/intel,keembay-dsi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Intel Keem Bay mipi dsi controller
8
9maintainers:
10  - Anitha Chrisanthus <anitha.chrisanthus@intel.com>
11  - Edmond J Dea <edmund.j.dea@intel.com>
12
13properties:
14  compatible:
15    const: intel,keembay-dsi
16
17  reg:
18    items:
19      - description: MIPI registers range
20
21  reg-names:
22    items:
23      - const: mipi
24
25  clocks:
26    items:
27      - description: MIPI DSI clock
28      - description: MIPI DSI econfig clock
29      - description: MIPI DSI config clock
30
31  clock-names:
32    items:
33      - const: clk_mipi
34      - const: clk_mipi_ecfg
35      - const: clk_mipi_cfg
36
37  ports:
38    $ref: /schemas/graph.yaml#/properties/ports
39
40    properties:
41      port@0:
42        $ref: /schemas/graph.yaml#/properties/port
43        description: MIPI DSI input port.
44
45      port@1:
46        $ref: /schemas/graph.yaml#/properties/port
47        description: DSI output port.
48
49    required:
50      - port@0
51      - port@1
52
53required:
54  - compatible
55  - reg
56  - reg-names
57  - clocks
58  - clock-names
59  - ports
60
61additionalProperties: false
62
63examples:
64  - |
65    mipi-dsi@20900000 {
66        compatible = "intel,keembay-dsi";
67        reg = <0x20900000 0x4000>;
68        reg-names = "mipi";
69        clocks = <&scmi_clk 0x86>,
70                 <&scmi_clk 0x88>,
71                 <&scmi_clk 0x89>;
72        clock-names = "clk_mipi", "clk_mipi_ecfg",
73                      "clk_mipi_cfg";
74
75        ports {
76            #address-cells = <1>;
77            #size-cells = <0>;
78
79            port@0 {
80                reg = <0>;
81                dsi_in: endpoint {
82                    remote-endpoint = <&disp_out>;
83                };
84            };
85
86            port@1 {
87                reg = <1>;
88                dsi_out: endpoint {
89                    remote-endpoint = <&adv7535_input>;
90                };
91            };
92        };
93    };
94