Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1078357ybg; Wed, 29 Jul 2020 05:22:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyusw4z0rryZtUlqyyZq8g8JuXZ2Euzs0Z8jH/N7Hym7vX527KPe49Zi5l2G190l668fUtO X-Received: by 2002:aa7:c341:: with SMTP id j1mr31964352edr.197.1596025333623; Wed, 29 Jul 2020 05:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596025333; cv=none; d=google.com; s=arc-20160816; b=dUp20+yxH/ObfzHmrvpHPjnrcTZms4l1MVjsFVWR0RNa8ajYEzB+7jtydJrowNdts8 Q78ERB9+YRuX5xTMVkxzfWSqq+isWbevfRQyYqFelt3c/0s87OSXyV057c5KfdKSX+BF Wy2nNvXaIls9bR+nuyBdpx24fnAOqJ+pcmn+f+5s+pfJvsE7HWk5r5MXUFUSKT3qimrj XWthJAuMHjDQiL8A1G2h+t4qzV/cIo5qYAGIPS9Z9myhSVe04o+FJjbd30XX4h9Ren1E QdT/Xu4f7NSYFZo6mBpcKfpq+xULNLrGE94+Y3cNimd0iSGNTGbJC1G7qUwZBOloUYGO morA== 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=5nLEFRBI8DdlQAetllejlsVQFh+X6Qk97uPXQOwIFEM=; b=U9V0tMagXjeKrzVSwIknwjvC8+aY/NRUOU5QG7rYxZrk77huYgHPhyFaBPSOJNMAv+ bqtUXwZYZZEuK0qhls2+IT2xpxV9nygrSl8g8NbzoCeeQMmBEZaehjDfV4S0/YSxsN6r 8CsP1LYsoEV5LHCLF+ZM3BkgaOTECI6skhbWVJArNEFquscRkuLuEKuTDXsNW742k7EV 2PZJn8sOkOQNDUf2zGbN6f4Qn1v2ReNnC0lWMuJMDHPK0DfCoLZhfljVmvYjUZOa1SQg dOu9SVy4TlbPHXWL1g2RcAs46YKQeUKiBrsndngOjnsx5znVMHfl5bhAJuJ+yh6lh+5W fgaQ== 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 c11si1230181edy.498.2020.07.29.05.21.43; Wed, 29 Jul 2020 05:22:13 -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 S1726957AbgG2MTz (ORCPT + 99 others); Wed, 29 Jul 2020 08:19:55 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:42632 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbgG2MTy (ORCPT ); Wed, 29 Jul 2020 08:19:54 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 65131FB02; Wed, 29 Jul 2020 14:19:50 +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 6Of1Xl1beATV; Wed, 29 Jul 2020 14:19:47 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 6CB2940382; Wed, 29 Jul 2020 14:19:45 +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 v1 1/3] arm64: dts: imx8mq: Add NWL MIPI DSI controller Date: Wed, 29 Jul 2020 14:19:43 +0200 Message-Id: <41adfe49c75d8bb261dc8d481e9bb537f6699cb4.1596025057.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 --- 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 f70435cf9ad5..e5fa77e1dfe7 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