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