From patchwork Tue Mar 6 13:56:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 130803 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3967163lja; Tue, 6 Mar 2018 05:57:21 -0800 (PST) X-Google-Smtp-Source: AG47ELsppCMW2MKJ5qL3fdYwShUJTAYtkz2cGX9i3eoTdeMxisgypIpNAtJ2TYAV2pTyH0XzTlIE X-Received: by 10.101.68.82 with SMTP id e18mr15107399pgq.329.1520344641626; Tue, 06 Mar 2018 05:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520344641; cv=none; d=google.com; s=arc-20160816; b=ujpZeL8a0ct6VAS5A+nt+mjXephlHD34XpDFt/5z/YVRuIq7CWc5OMqEtxyAznxyUm I0S4wfd9yBBh41q7KhrZTSbs1tIqp9jON/ns+bT8o5s2xkTBpBtaUUlvoH/FLGvJ60GS WRa9lItu94uNkP3PU2pmQ6sXqiHwq/JVzDJLNLID+CCIBHR7Bvz+l6vFucZzm5n+fCWx k8s12Mw9s6jWNrMKtPxqsJntekyPEt7Fobz6v4SbmtLfJFDlcRQslY5e8HARuXuF/JUe 5hvV2d64RVMzGAAMXWVzVdovQkwQb1JfFzts3ESFem/7kj++FmKCLWStIJBcyE8AEM+N /pQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:in-reply-to:references:in-reply-to :message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=9S551ctKRhbH+UE2+8tZmYY7clacJirAIxtnvtZWmLA=; b=UtwW0SZqc1pd+ZmQpFuxwlNg9bYGdXZVq+cQAPcZNM3fSGMYVFt3J/DImcRKo8Kg+D WCwtxUpgEtW9NVieEnpUJPxJVlm7l5b9VpttDy+MaIqB3IznjrHSopwJlVzfd+oDeKkm AR4CHc3qn7Wbn6FDs3b00Wc9f6vk6OQ+P5jkud4CfiMyhCxkljL7/STFgDwZE7Q7eukc geNuNmb46Q5VBC30C5Bv3jV43KMvYrI6f+8PDidE8f856r/rXn9LZaU/DcsCvll9yGt2 C1iR7W6blSHumPviayYThtrNYpA/kuBJJ9A/zbwmmtbfkyOi4Coh0y3g4Co8nl/NtbkT igHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id w186si9815660pgd.745.2018.03.06.05.57.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Mar 2018 05:57:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0569F6E0E2; Tue, 6 Mar 2018 13:57:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 4B1DC6E0A1 for ; Tue, 6 Mar 2018 13:57:15 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id 1827C20956; Tue, 6 Mar 2018 14:57:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.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 (unknown [185.94.189.190]) by mail.bootlin.com (Postfix) with ESMTPSA id B301B209E0; Tue, 6 Mar 2018 14:56:24 +0100 (CET) From: Maxime Ripard To: Thierry Reding , Chen-Yu Tsai , Maxime Ripard , Mark Rutland , Rob Herring Subject: [PATCH v3 6/7] arm: dts: sun8i: a33: Add the DSI-related nodes Date: Tue, 6 Mar 2018 14:56:03 +0100 Message-Id: X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Petazzoni , Daniel Vetter , Maxime Ripard , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 | 44 +++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index 50eb84fa246a..94cfa7b1bbfa 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,45 @@ #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"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + 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>;