Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1083305pxa; Thu, 20 Aug 2020 01:53:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtzmc1AI+jgnn1q5dS/8hfwfX2dAGZcfAxUHDJK27Vx2qWpFI2zuYazzvbYwNzMiaYTDZm X-Received: by 2002:aa7:d5d0:: with SMTP id d16mr1838354eds.212.1597913615716; Thu, 20 Aug 2020 01:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597913615; cv=none; d=google.com; s=arc-20160816; b=qS2mrS8pfVKb9zjIbeT/sV6JQpAv+ttoJ63MMDTO5EHLQOlT49xihxFJE8WtQyMdng oXUP+FXaRphDpCHl4JKZyGEbMrs2OyRZAVKmNdVkBMQVemWzADXvZeBmHx8REdAryjIV dxhgAtDsktvGw05T4PwcDw7LNDEwomOjtZqSqCJY/BXxaosgtlmTwfKwFAQvby/lCOt4 vWJr5oSvy8jW5I3iY/HsHZe0o1xwTa3I8DnBj/hq4xK2UaUcadZYF3YDsQMeYAiJ11cE sLopGUBetglS73PUlgNL9hT1PpUgzdmmFCi05Emslnh9a+HH2BGy69MZtfbyM5nyxl6x P0MA== 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:to:from; bh=9XpBMf54U03NebFN2GUrXH2DZ+wad0jUFs+IQSlJLiw=; b=wrxJR0O0uNRdmF2iBbVTStWayM8mEVVZ9/ZbMw3aHBt06ww4STfszMwyeMGh+nEWGS oKA964cDgcPVLAGEOYzibZbAjVpXygi2uKBu6Pt24ca+6jer8fzAdMY6ogKcxIxImaOi g33tQywAAwiT/YeTZuNk9eUY8JGP19KbCIJ0c0Xh/8bjnR1L/3SHpy74BVyOuD+K1XLI jFNpOw3rMQOkuUe//3GRwpefC4UjejOVWTIDTVBImIcSOi3YP52mGdsDBNrKT3W9tLPG K7F+cRn8RMJLzM8Bm6gDJcM6mcBHy7YxESqN09m9Adr2Yg4DeP+O5b2A6YgM8I6e+AF4 5xPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si1341204edl.249.2020.08.20.01.53.11; Thu, 20 Aug 2020 01:53:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727031AbgHTIvz (ORCPT + 99 others); Thu, 20 Aug 2020 04:51:55 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:58914 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726885AbgHTIvG (ORCPT ); Thu, 20 Aug 2020 04:51:06 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id CA300FB02; Thu, 20 Aug 2020 10:51:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jylzmjecNnoq; Thu, 20 Aug 2020 10:51:00 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 9254445678; Thu, 20 Aug 2020 10:50:59 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , Martin Kepplinger , "Angus Ainslie (Purism)" , =?UTF-8?q?Guido=20G=C3=BCnther?= , Anson Huang , Peng Fan , Dong Aisheng , Leonard Crestez , Philipp Zabel , Lucas Stach , Andrey Smirnov , Li Jun , Bjorn Andersson , Li Yang , Arnd Bergmann , Geert Uytterhoeven , Michael Walle , Olof Johansson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] arm64: dts: imx8mq: Add NWL MIPI DSI controller Date: Thu, 20 Aug 2020 10:50:56 +0200 Message-Id: <138346192af1adb1277269a3cbd542dff00ba4a3.1597913263.git.agx@sigxcpu.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a node for the Northwest Logic MIPI DSI IP core, "disabled" by default. This also adds the necessary port to LCDIF. Signed-off-by: Guido Günther Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index f70435cf9ad57..e5fa77e1dfe71 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -523,6 +523,12 @@ lcdif: lcd-controller@30320000 { <&clk IMX8MQ_VIDEO_PLL1_OUT>; assigned-clock-rates = <0>, <0>, <0>, <594000000>; status = "disabled"; + + port@0 { + lcdif_mipi_dsi: endpoint { + remote-endpoint = <&mipi_dsi_lcdif_in>; + }; + }; }; iomuxc: pinctrl@30330000 { @@ -899,6 +905,49 @@ sec_jr2: jr@3000 { }; }; + mipi_dsi: mipi-dsi@30a00000 { + compatible = "fsl,imx8mq-nwl-dsi"; + reg = <0x30a00000 0x300>; + clocks = <&clk IMX8MQ_CLK_DSI_CORE>, + <&clk IMX8MQ_CLK_DSI_AHB>, + <&clk IMX8MQ_CLK_DSI_IPG_DIV>, + <&clk IMX8MQ_CLK_DSI_PHY_REF>, + <&clk IMX8MQ_CLK_LCDIF_PIXEL>; + clock-names = "core", "rx_esc", "tx_esc", "phy_ref", "lcdif"; + assigned-clocks = <&clk IMX8MQ_CLK_DSI_AHB>, + <&clk IMX8MQ_CLK_DSI_CORE>, + <&clk IMX8MQ_CLK_DSI_IPG_DIV>; + assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>, + <&clk IMX8MQ_SYS1_PLL_266M>; + assigned-clock-rates = <80000000>, <266000000>, <20000000>; + interrupts = ; + mux-controls = <&mux 0>; + power-domains = <&pgc_mipi>; + phys = <&dphy>; + phy-names = "dphy"; + resets = <&src IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N>, + <&src IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N>, + <&src IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N>, + <&src IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N>; + reset-names = "byte", "dpi", "esc", "pclk"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + mipi_dsi_lcdif_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&lcdif_mipi_dsi>; + }; + }; + }; + }; + dphy: dphy@30a00300 { compatible = "fsl,imx8mq-mipi-dphy"; reg = <0x30a00300 0x100>; -- 2.26.2