From patchwork Wed Feb 21 09:20:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 129000 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp409408ljc; Wed, 21 Feb 2018 01:21:19 -0800 (PST) X-Google-Smtp-Source: AH8x224rPADXJcklNu0CKXeXdFHIYGhEYjogPG7cYT3XuBJVJzq94YeZPPzlkWuh9YvhfIn2NqQd X-Received: by 2002:a17:902:9686:: with SMTP id n6-v6mr2488952plp.333.1519204879026; Wed, 21 Feb 2018 01:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519204879; cv=none; d=google.com; s=arc-20160816; b=08VX331mjUJGnpbHJmsOijapHzk1J+HyNEFAyaz5QgycIeYfplxX5cLTTOlo5rX388 fqcBrq6heaKYr6FhPfAfWwxC64NM77QdODpt6yGC7LKgJzJPQ4OuUOPu7iNQnUAv1oNt kbPSbPVYoOrovNNeUZJ6NIDJqdTF+c3yPjIvjMS25PovyUszuqOp4TEgsVjNCmmJ/Vkx GrGjsN1QzC9L/QOekfF/ZSa97mI9XrU1QuNdkMIu3TnZ6WvWxBndoNAPvY5kXw2/fvBM Sv0eTJBQJQxlvgDJ+QMaJPTWiVGgPdGvZ5ebyNhqjWsmaNmV0lDOgIdGxRAlm9NGAyFq V7gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=U2POTLHNgtKzd+k10HmzahtzsB6GYu2aal+7tyx0x/E=; b=A/oIGiEgDtwrwgbgg7CIpXYWdFsn/uVjDE0xn7V0No2BjOsaoV7s19ErUbGivNqT3g bWRYMchftIuu2caFxJWAU1t9jeibYyXr5FZ9rfTKtYmRTUBnz4lj2E8NJp9o5iMKqGVB 7JrU+SnVW3VkmIPdqjZKOJ8U+V6k3H4mijTiXqf+aLe4Nxy/v6LiTT7bzdL5YNsli9Kx 3OmARSkdegK01WHv+nX/71aac5gXs+3DbdC8Bvk9TFq3jDu0yWKLDvdYtjkWomFhv01Q cm/9v2hYYZsV3aYuUOQzvcpWa5OKCzc7osnHF41EcwWfpP6/D+f4dEa9nO8PZeQ70S0G e7uQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 7-v6si927405ple.300.2018.02.21.01.21.18; Wed, 21 Feb 2018 01:21:19 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161AbeBUJVP (ORCPT + 28 others); Wed, 21 Feb 2018 04:21:15 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:54567 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932135AbeBUJVK (ORCPT ); Wed, 21 Feb 2018 04:21:10 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id C74B0207F0; Wed, 21 Feb 2018 10:21:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 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 C27DB207F4; Wed, 21 Feb 2018 10:20:42 +0100 (CET) From: Maxime Ripard To: Mark Brown , Thierry Reding , Chen-Yu Tsai , Maxime Ripard , Mark Rutland , Rob Herring Cc: dri-devel@lists.freedesktop.org, Gustavo Padovan , Daniel Vetter , Maarten Lankhorst , Sean Paul , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Maxime Ripard Subject: [PATCH v2 09/10] arm: dts: sun8i: a33: Add the DSI-related nodes Date: Wed, 21 Feb 2018 10:20:33 +0100 Message-Id: <5513fa8f9297470d602d742f42fddd4a41e03faf.1519204731.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard 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 | 35 +++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+) -- git-series 0.9.1 diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index 50eb84fa246a..20400c87d611 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -236,6 +236,11 @@ #address-cells = <1>; #size-cells = <0>; reg = <1>; + + tcon0_out_dsi0: endpoint@1 { + reg = <1>; + remote-endpoint = <&dsi0_in_tcon0>; + }; }; }; }; @@ -280,6 +285,36 @@ #io-channel-cells = <0>; }; + dsi0: dsi@1ca0000 { + 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"; + + port { + dsi0_in_tcon0: endpoint { + remote-endpoint = <&tcon0_out_dsi0>; + }; + }; + }; + + dphy0: d-phy@1ca1000 { + 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"; + #phy-cells = <0>; + }; + fe0: display-frontend@1e00000 { compatible = "allwinner,sun8i-a33-display-frontend"; reg = <0x01e00000 0x20000>;