dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
To: dri-devel@lists.freedesktop.org, anitha.chrisanthus@intel.com
Cc: edmund.j.dea@intel.com, sam@ravnborg.org
Subject: [PATCH v10 2/6] dt-bindings: display: bridge: Intel KeemBay DSI
Date: Thu, 29 Oct 2020 14:27:53 -0700	[thread overview]
Message-ID: <1604006877-20092-3-git-send-email-anitha.chrisanthus@intel.com> (raw)
In-Reply-To: <1604006877-20092-1-git-send-email-anitha.chrisanthus@intel.com>

This patch adds bindings for Intel KeemBay MIPI DSI

Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
---
 .../bindings/display/bridge/intel,keembay-dsi.yaml | 101 +++++++++++++++++++++
 1 file changed, 101 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/intel,keembay-dsi.yaml

diff --git a/Documentation/devicetree/bindings/display/bridge/intel,keembay-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/intel,keembay-dsi.yaml
new file mode 100644
index 0000000..4cef64e
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/intel,keembay-dsi.yaml
@@ -0,0 +1,101 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/bridge/intel,keembay-dsi.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Devicetree bindings for Intel Keem Bay mipi dsi controller
+
+maintainers:
+  - Anitha Chrisanthus <anitha.chrisanthus@intel.com>
+  - Edmond J Dea <edmund.j.dea@intel.com>
+
+properties:
+  compatible:
+    const: intel,keembay-dsi
+
+  reg:
+    items:
+      - description: MIPI registers range
+
+  reg-names:
+    items:
+      - const: mipi
+
+  clocks:
+    items:
+      - description: MIPI DSI clock
+      - description: MIPI DSI econfig clock
+      - description: MIPI DSI config clock
+
+  clock-names:
+    items:
+      - const: clk_mipi
+      - const: clk_mipi_ecfg
+      - const: clk_mipi_cfg
+
+  ports:
+    type: object
+
+    properties:
+      '#address-cells':
+       const: 1
+
+      '#size-cells':
+       const: 0
+
+      port@0:
+        type: object
+        description: MIPI DSI input port.
+
+      port@1:
+        type: object
+        description: DSI output port to adv7535.
+
+    required:
+      - port@0
+      - port@1
+
+    additionalProperties: false
+
+required:
+  - compatible
+  - reg
+  - reg-names
+  - clocks
+  - clock-names
+  - ports
+
+additionalProperties: false
+
+examples:
+  - |
+    mipi-dsi@20900000 {
+        compatible = "intel,keembay-dsi";
+        reg = <0x20900000 0x4000>;
+        reg-names = "mipi";
+        clocks = <&scmi_clk 0x86>,
+                 <&scmi_clk 0x88>,
+                 <&scmi_clk 0x89>;
+        clock-names = "clk_mipi", "clk_mipi_ecfg",
+                      "clk_mipi_cfg";
+
+        ports {
+            #address-cells = <1>;
+            #size-cells = <0>;
+
+            port@0 {
+                reg = <0>;
+                dsi_in: endpoint {
+                    remote-endpoint = <&disp_out>;
+                };
+            };
+
+            port@1 {
+                reg = <1>;
+                dsi_out: endpoint {
+                    remote-endpoint = <&adv7535_input>;
+                };
+            };
+        };
+    };
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2020-10-29 21:28 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 21:27 [PATCH v10 0/6] Add support for KeemBay DRM driver Anitha Chrisanthus
2020-10-29 21:27 ` [PATCH v10 1/6] dt-bindings: display: Add support for Intel KeemBay Display Anitha Chrisanthus
2020-10-29 22:20   ` Sam Ravnborg
2020-10-30  8:31     ` Neil Armstrong
2020-10-30 21:15       ` Sam Ravnborg
2020-11-02 15:16         ` Rob Herring
2020-11-02 16:38           ` Neil Armstrong
2020-11-02 18:04             ` Sam Ravnborg
2020-11-03  2:05               ` Rob Herring
2020-11-03  9:37               ` Neil Armstrong
2020-11-03 17:11                 ` Sam Ravnborg
2020-11-03  2:02             ` Rob Herring
2020-11-03  9:36               ` Neil Armstrong
2020-10-29 21:27 ` Anitha Chrisanthus [this message]
2020-10-29 22:22   ` [PATCH v10 2/6] dt-bindings: display: bridge: Intel KeemBay DSI Sam Ravnborg
2020-10-30  8:32     ` Neil Armstrong
2020-10-29 21:27 ` [PATCH v10 3/6] drm/kmb: Keem Bay driver register definition Anitha Chrisanthus
2020-10-29 22:23   ` Sam Ravnborg
2020-10-29 21:27 ` [PATCH v10 4/6] drm/kmb: Add support for KeemBay Display Anitha Chrisanthus
2020-10-29 22:27   ` Sam Ravnborg
2020-10-29 21:27 ` [PATCH v10 5/6] drm/kmb: Mipi DSI part of the display driver Anitha Chrisanthus
2020-10-29 22:31   ` Sam Ravnborg
2020-10-29 21:27 ` [PATCH v10 6/6] drm/kmb: Build files for KeemBay Display driver Anitha Chrisanthus
2020-10-29 22:31   ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604006877-20092-3-git-send-email-anitha.chrisanthus@intel.com \
    --to=anitha.chrisanthus@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=edmund.j.dea@intel.com \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).