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: Devicetree bindings for 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    type: object
39
40    properties:
41      '#address-cells':
42       const: 1
43
44      '#size-cells':
45       const: 0
46
47      port@0:
48        type: object
49        description: MIPI DSI input port.
50
51      port@1:
52        type: object
53        description: DSI output port.
54
55    required:
56      - port@0
57      - port@1
58
59    additionalProperties: false
60
61required:
62  - compatible
63  - reg
64  - reg-names
65  - clocks
66  - clock-names
67  - ports
68
69additionalProperties: false
70
71examples:
72  - |
73    mipi-dsi@20900000 {
74        compatible = "intel,keembay-dsi";
75        reg = <0x20900000 0x4000>;
76        reg-names = "mipi";
77        clocks = <&scmi_clk 0x86>,
78                 <&scmi_clk 0x88>,
79                 <&scmi_clk 0x89>;
80        clock-names = "clk_mipi", "clk_mipi_ecfg",
81                      "clk_mipi_cfg";
82
83        ports {
84            #address-cells = <1>;
85            #size-cells = <0>;
86
87            port@0 {
88                reg = <0>;
89                dsi_in: endpoint {
90                    remote-endpoint = <&disp_out>;
91                };
92            };
93
94            port@1 {
95                reg = <1>;
96                dsi_out: endpoint {
97                    remote-endpoint = <&adv7535_input>;
98                };
99            };
100        };
101    };
102