Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp796116ybx; Wed, 6 Nov 2019 08:33:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzZERgAnpG97SQeoAu5aLnESXKhA1i+MR55X/GK/80ocqLQJXWYMYFqQsEJHHJDDWrZ5558 X-Received: by 2002:a50:9b43:: with SMTP id a3mr3696117edj.73.1573057993828; Wed, 06 Nov 2019 08:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573057993; cv=none; d=google.com; s=arc-20160816; b=TrWP0ZWmyLUBbhMcWFb9AeZCLIp9Llsct2tsZeWRy2jPilN2I1CWfnxJzWEIUN7U7E 9gdtBkOj6uS7aaxA2m7zxASDl1KhVkGagkZ3cXl11RxOpbn64XZUeXsCFtSKiWDRFu3h uCt8zJtqOAIG5zC4nz/Fd5GIy01NVhiUtoaGbU82NjccS0spWV968s1YvRw6fP8HRO5i JWBf6IbvWovOZmDNR+GjDUUosLe1kkuDFLb9KUK50uRKotvnQbQq4P7E2NrT5mYE+Mem t37e4bEsczLn17i3et/NQj19cvo2XhdHifC1dUaLE0AZdhfNB5Y7ORdmZw5fShYojYsf b9xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=G1PpE0neRbNaUIvCvLD0qaBZlM5RMPORLCWQ35+JOIA=; b=o2JpWNhkgqIPbgR4Bv+8usyt/Ism9zEJ/WoTYxsmjb0xQG8wVHU6KeDfJa7hKS29fj PQ8SZ8/XSL6GCmDLj/xxL4lxGys8u4NkLckPeuKIV7iQGgFWMq439aCRopdlnbwvRrPb fjzHxFjRm34Ej9bkceNkidKZD3ONn0evJMkUqKh7s0+UXVgmpslOdyTfCdga6TfgXhqM NZmmR5VhJ14rkVBwdHiY/Um8NiLvlnHVs3IpON2GAZaOsijqMEaVYtea9+aGehT0OYSX lzOTW6mK6OISnVZIn37ytVaorlp6P5J8qXqFUi71q/bjZLSePLXmrea8p6wC3uLYNrjJ HOkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x50si13181819eda.155.2019.11.06.08.32.50; Wed, 06 Nov 2019 08:33:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732229AbfKFQbg (ORCPT + 99 others); Wed, 6 Nov 2019 11:31:36 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:36476 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728530AbfKFQbg (ORCPT ); Wed, 6 Nov 2019 11:31:36 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aratiu) with ESMTPSA id F216A28FDCE From: Adrian Ratiu To: linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-rockchip@lists.infradead.org Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Neil Armstrong , Emil Velikov , Sjoerd Simons , Martyn Welch Subject: [PATCH v2 4/4] dt-bindings: display: add IMX MIPI DSI host controller doc Date: Wed, 6 Nov 2019 18:30:31 +0200 Message-Id: <20191106163031.808061-5-adrian.ratiu@collabora.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191106163031.808061-1-adrian.ratiu@collabora.com> References: <20191106163031.808061-1-adrian.ratiu@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Neil Armstrong Reviewed-by: Emil Velikov Signed-off-by: Sjoerd Simons Signed-off-by: Martyn Welch Signed-off-by: Adrian Ratiu --- .../bindings/display/imx/mipi-dsi.txt | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/mipi-dsi.txt diff --git a/Documentation/devicetree/bindings/display/imx/mipi-dsi.txt b/Documentation/devicetree/bindings/display/imx/mipi-dsi.txt new file mode 100644 index 000000000000..3f05c32ef963 --- /dev/null +++ b/Documentation/devicetree/bindings/display/imx/mipi-dsi.txt @@ -0,0 +1,56 @@ +Freescale i.MX6 DW MIPI DSI Host Controller +=========================================== + +The DSI host controller is a Synopsys DesignWare MIPI DSI v1.01 IP +with a companion PHY IP. + +These DT bindings follow the Synopsys DW MIPI DSI bindings defined in +Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt with +the following device-specific properties. + +Required properties: + +- #address-cells: Should be <1>. +- #size-cells: Should be <0>. +- compatible: "fsl,imx6q-mipi-dsi", "snps,dw-mipi-dsi". +- reg: See dw_mipi_dsi.txt. +- interrupts: The controller's CPU interrupt. +- clocks, clock-names: Phandles to the controller's pll reference + clock(ref) and APB clock(pclk), as described in [1]. +- ports: a port node with endpoint definitions as defined in [2]. +- gpr: Should be <&gpr>. + Phandle to the iomuxc-gpr region containing the multiplexer + control register. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + + mipi_dsi: mipi@21e0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx6q-mipi-dsi", "snps,dw-mipi-dsi"; + reg = <0x021e0000 0x4000>; + interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; + gpr = <&gpr>; + clocks = <&clks IMX6QDL_CLK_MIPI_CORE_CFG>, + <&clks IMX6QDL_CLK_MIPI_IPG>; + clock-names = "ref", "pclk"; + status = "okay"; + + ports { + port@0 { + reg = <0>; + mipi_mux_0: endpoint { + remote-endpoint = <&ipu1_di0_mipi>; + }; + }; + port@1 { + reg = <1>; + mipi_mux_1: endpoint { + remote-endpoint = <&ipu1_di1_mipi>; + }; + }; + }; + }; -- 2.23.0