Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2393482imu; Thu, 24 Jan 2019 12:01:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN68zoDyVh5pSpSr+xheJwqAfYMwyu+wnAtWATe8qHQZlMOH4vmirqIwwrETZBikPjvdiKPV X-Received: by 2002:a63:e20a:: with SMTP id q10mr7003340pgh.206.1548360065198; Thu, 24 Jan 2019 12:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548360065; cv=none; d=google.com; s=arc-20160816; b=kANv67I3Ie9HOJzBYIpz+RSn2WkN2/6UxI+dx7uOf9ioXlLKURrUwLJ6OpycvO6um1 BhKm6NsKE/K3ZKwUo8KyGTt0MbNTPRS3vsDjI0BS7frL2ahfnwtEA7vdgPNcNUCdYBgJ WkxVbZh//HqAZnnnwhf9eSBuP7tktBdFfcNySp6KPFOSGXX0z/6KEsn5vWE4XtPCfjs5 oKcJVC5UhLcAe6xbrGji/zr8KHo/OvZ+w9OIkc2WfZBZkU8JOCOMWfIZIuguFiWeb931 29AwjTo/HmMYZ0U1rLbQEV7HndBaHA6T76kk/Q8durYJyptoZK9QAx/YY7H6HSWu4atk JZkw== 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:cc:to:from :dkim-signature; bh=xwpaWClSendD5Xkx2lUaVTi5eWkEg90FnJ0FqvjhOj0=; b=pwPGdt2fgLTTCPU5vIu2JK5gOUr6HQ2JGnoVZnSqjiXR3mWjWRWDzJvQeyS9xqwfLR WYb4+JG4p6De2z8/DTTnGZDNEJrKvEp611O3psBSTxvhqgO7i7XrfTZ1708RYvCi087F yzyWETWfAMHL68sxWLUD2/58q6uRCwHrsXf0l189wpj+QG8GjH2x1dv4ZcqZe+ipke0n frLs6sVVpzhDU1YGLzIR1VoVtPBVZJ7OAS4kBgA/MQeX65sTCDrNUXsIp/6CXGUwPe6Z dEDHoDtJS5ABxEfeNnMjm9GuZigGbuQibJB1OKsr6eX4+n+deut9xGRR05plZwg+EKIk +dMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QYsYsypJ; 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 s4si22723919pfb.190.2019.01.24.12.00.50; Thu, 24 Jan 2019 12:01:05 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QYsYsypJ; 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 S1730492AbfAXUAr (ORCPT + 99 others); Thu, 24 Jan 2019 15:00:47 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:41595 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731558AbfAXUAq (ORCPT ); Thu, 24 Jan 2019 15:00:46 -0500 Received: by mail-pg1-f193.google.com with SMTP id m1so3126013pgq.8 for ; Thu, 24 Jan 2019 12:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xwpaWClSendD5Xkx2lUaVTi5eWkEg90FnJ0FqvjhOj0=; b=QYsYsypJagdj/V1uz+Y4z3lwNY/8xf/URMlBzZFLZXQMAvZvcEi2YYnqh5lYilkoFV qm4oAD9ZV2IK9XxC9cLHXNBhdhFhC24k1y7dVR9L36iIzd+aE3wn2ITnj3O2sPwiRMMy VgfUfii3Na2aZX+4n+GP1NXnDHCKyjwQyv9oM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xwpaWClSendD5Xkx2lUaVTi5eWkEg90FnJ0FqvjhOj0=; b=tJEMeBggIqvrcBqcFNbTNQXECk4XdvmeO7/j/Luf3Q0Icj65g9fZCiPVlhdwIn1w8r MUcgOhrtJG4/uR8znX2D8rf641ah/xJqYLjSndiNyECZx/vS72MoARE+CNitMLwUTF0I 5uiD8YoV2X/bs7VT3dNrxSG5rK7jwbNQ3pqbaphZhQy+Vw0XFLY3u8bK5hcNqYwpztgy 45CgcedIXSps5xJaUTO8zLuAMFmiW/d29y/72VuStamF8HZNWKufT/y1PYLK+sVnILxE hRpW+qPCvt1nNWfJ2a7i9m4QOG/GuTxlWabGzHg6l8+Hy1HYA8Zt6wGfh5K2SmanMR3I kSIg== X-Gm-Message-State: AJcUukc4k2lAFCAedXYB9CDfqojAal/B1XQB57t0qbherMzlcCXQPPq/ kBkNvf0VVB8WSf2gYmJuVbjaoA== X-Received: by 2002:a62:9419:: with SMTP id m25mr8223547pfe.147.1548360045461; Thu, 24 Jan 2019 12:00:45 -0800 (PST) Received: from localhost.localdomain ([115.97.179.75]) by smtp.gmail.com with ESMTPSA id x11sm61637003pfe.72.2019.01.24.12.00.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 12:00:44 -0800 (PST) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai , Michael Turquette , Rob Herring , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com, Jagan Teki Subject: [PATCH v6 16/22] arm64: dts: allwinner: a64: Add DSI pipeline Date: Fri, 25 Jan 2019 01:28:54 +0530 Message-Id: <20190124195900.22620-17-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190124195900.22620-1-jagan@amarulasolutions.com> References: <20190124195900.22620-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The A64 has a MIPI-DSI block which is similar to A31. Add dsi, dphy nodes with A31 fallback compatible and finally connect the dsi node to tcon0 node to make proper DSI pipeline. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index cdc154b14a7e..e18d81aff813 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -358,6 +358,12 @@ #address-cells = <1>; #size-cells = <0>; reg = <1>; + + tcon0_out_dsi: endpoint@1 { + reg = <1>; + remote-endpoint = <&dsi_in_tcon0>; + allwinner,tcon-channel = <1>; + }; }; }; }; @@ -935,6 +941,47 @@ status = "disabled"; }; + dsi: dsi@1ca0000 { + compatible = "allwinner,sun50i-a64-mipi-dsi", + "allwinner,sun6i-a31-mipi-dsi"; + reg = <0x01ca0000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_MIPI_DSI>, + <&ccu CLK_DSI_DPHY>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_MIPI_DSI>; + phys = <&dphy>; + phy-names = "dphy"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + dsi_in_tcon0: endpoint { + remote-endpoint = <&tcon0_out_dsi>; + }; + }; + }; + }; + + dphy: d-phy@1ca1000 { + compatible = "allwinner,sun50i-a64-mipi-dphy", + "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>; + }; + csi: csi@1cb0000 { compatible = "allwinner,sun50i-a64-csi"; reg = <0x01cb0000 0x1000>; -- 2.18.0.321.gffc6fa0e3