From patchwork Thu Jul 13 14:13:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 9838647 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C39EE602D8 for ; Thu, 13 Jul 2017 14:19:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B21AA1FE76 for ; Thu, 13 Jul 2017 14:19:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A54B028684; Thu, 13 Jul 2017 14:19:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 287DE1FE76 for ; Thu, 13 Jul 2017 14:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ehY9ZL2+ykxxf6ZNDbY7joTr/yUiI5sJ6Hzal2cqSpA=; b=hHjVKiGy/ZMb89Wz4c+MTccJM6 0IGIZSacijsuYWCl4BGis5VGslqjnPJOkxD1IcmwYEa7yKjCutAwRAgcYDeVsiADRpOR+NEmzMDWy iG508gmha2Fgf9BhtSmyJedTs+Jue5WwDlWqKmdZyPBIzOoy+lMg8qr+BFlWrnRntcLNuj7oNtOd/ hy9YK5nyK49fa1BqtWdulJiA3dwvt3LuAOOlEWM8AXMyDPoH9jsFzRdnptPft2mMpI9hoF9lsXqbu IOBmAgEN4noeQt2Q5k9AXxwmY9yFQlk3oFvOR4HgTSltGMIyhBHuIfUZsWvA1a5fnMbmanvcgOSfx qd7NLf5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dVey1-00007d-Mu; Thu, 13 Jul 2017 14:19:45 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dVet1-0002vK-VW for linux-arm-kernel@bombadil.infradead.org; Thu, 13 Jul 2017 14:14:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0OacD1GoI0pB0tMivVYZZlzQJ/GTUKjc9/SEW/zDZBs=; b=LezGiZt50Dka6a1TgZ72SK8Rh CpKb5q+KOXPthav+Hiw+zrn+k3zJdcJRaByO7iSHorRjyx5V8iPZ2aWMBl8GOoSfaS/WEGZvh/GSU PEyng44PqqcjTbzY4hY2mDMFqceXzcVPukai+0VhbiBKgNK+gAZgflJVnM4S0s6DrtNDk/aq67LC6 utOOfzAGf0n/UP3P/LgBZvfzgI7yn+YQRdwR+jzX0Ik+lK9FVv+GJZQUgwGs2cMi6TVSEfdH1wLvg sRysTtkVlDNjoLJatXy6k4d+IpzXAjqUAFyj4tXAc8vZjBdII2Pt1Fd5hVHYt7BFOutl1P6rnDSjc FLRtpH+Qg==; Received: from mail.free-electrons.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dVesx-0002UH-DL for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2017 14:14:34 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id D56C82200C; Thu, 13 Jul 2017 16:13:18 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id AC6EC21FE2; Thu, 13 Jul 2017 16:13:18 +0200 (CEST) From: Maxime Ripard To: Mark Brown , Thierry Reding , Laurent Pinchart , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 16/18] arm: dts: sun8i: a33: Add the DSI-related nodes Date: Thu, 13 Jul 2017 16:13:11 +0200 Message-Id: <79e7043a909e0fe56207c42c51695fb14e27bae0.1499955058.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170713_151431_506788_2938111A X-CRM114-Status: GOOD ( 13.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Boris Brezillon , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , Daniel Vetter , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The A33 has a MIPI-DSI block, along with its D-PHY. Let's add it in order to use it in the relevant boards. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a33.dtsi | 50 ++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index 22660919bd08..18d1bf9f8e84 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -236,10 +236,14 @@ #address-cells = <1>; #size-cells = <0>; reg = <1>; + + tcon0_out_dsi0: endpoint@1 { + reg = <1>; + remote-endpoint = <&dsi0_in_tcon0>; + }; }; }; }; - crypto: crypto-engine@01c15000 { compatible = "allwinner,sun4i-a10-crypto"; reg = <0x01c15000 0x1000>; @@ -280,6 +284,50 @@ #io-channel-cells = <0>; }; + dsi0: dsi@01ca0000 { + compatible = "allwinner,sun6i-a31-mipi-dsi"; + reg = <0x01ca0000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_MIPI_DSI>, + <&ccu CLK_DSI_SCLK>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_MIPI_DSI>; + phys = <&dphy0>; + phy-names = "dphy"; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + dsi0_in: port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + dsi0_in_tcon0: endpoint@0 { + reg = <0>; + remote-endpoint = <&tcon0_out_dsi0>; + }; + }; + }; + }; + + dphy0: d-phy@01ca1000 { + compatible = "allwinner,sun6i-a31-mipi-dphy"; + reg = <0x01ca1000 0x1000>; + clocks = <&ccu CLK_BUS_MIPI_DSI>, + <&ccu CLK_DSI_DPHY>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_MIPI_DSI>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <0>; + }; + fe0: display-frontend@01e00000 { compatible = "allwinner,sun8i-a33-display-frontend"; reg = <0x01e00000 0x20000>;