Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4299030imm; Fri, 18 May 2018 02:47:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoUGrhTD6aONsItNNRyksom1VhgfGdun3l3/QFm3nAO6AAu2/Axad8kuLfr0/9ZG/bB/b2F X-Received: by 2002:a63:7314:: with SMTP id o20-v6mr2095787pgc.156.1526636877667; Fri, 18 May 2018 02:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526636877; cv=none; d=google.com; s=arc-20160816; b=ptBNbqtVGvI/ubqRfRWhCIYRI/qkzgoUHmj+aaxVZ1OIVkXX/RLawR7lBjD0mSqd5N rkKPH32v9kRl+CNHzKBkJ2LmIer4aayJx4wrIpp+l7bEDAmiibb2Fffpd5Vo5ULE4Bpy hIDjMIBYov6ytcz/3IybtvjRFrmRCHYOp+gaQRRHYgSTkKwMfgXOCiNM0ngBPSGZUDsJ eDesZ+W/Yk3iwZiZkbwnvB9asO0WgfjmJxGFZF5a1b6GtzHTfkdsZQbmNmnC0JrMUnaZ +Yl9fWhAN4eA/hW0rqkKpi2YloIwV7WQrL2gc1n/GOo4goU0jOuPe6L13io46QJs9dbU C/aw== 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:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Dt/K7KSZoQyofpCw5YmzVBgIRq0va0aS3GDAUmsl6FI=; b=B//lmwa4UVnrMyazePdO1O4TcWRc6iYN6siy7Puc459mpyNuaHXx88T+QZMUMheD8p czohMceqnCjlban5MFdV7u0rG7i5nxLH8sqCOs73otVDvFgGO4oMkEoxvYFuWBF2IkSC CqKuL61p10xMmmDSmRm0AYcdtHD4Yq9EnOj63Nv+VmqPLmN3JqKQX9biVvZBMAMrvrGZ pc3N1WijG4kJ96fNS3ZvjN4XhWxXI4N2ka6lGMQKVERxCm6TzYZpThyN9LfukpmpKNJB fFQj5W8hVskRTpDCD7pewa9Sj89W9niZX5WHcAxdzdF5ns7f6tYg68iagL6CkDVOYX1f eO5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=La5Gz+xa; 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 v8-v6si6947206plo.306.2018.05.18.02.47.43; Fri, 18 May 2018 02:47:57 -0700 (PDT) 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=La5Gz+xa; 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 S1752660AbeERJrC (ORCPT + 99 others); Fri, 18 May 2018 05:47:02 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:43780 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752344AbeERJrA (ORCPT ); Fri, 18 May 2018 05:47:00 -0400 Received: by mail-pl0-f66.google.com with SMTP id c41-v6so4277616plj.10 for ; Fri, 18 May 2018 02:47:00 -0700 (PDT) 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; bh=Dt/K7KSZoQyofpCw5YmzVBgIRq0va0aS3GDAUmsl6FI=; b=La5Gz+xaRZEmm5E8mNNmvTJj2QkncjXMpeSclodnWhC4go6XjtTMx+sf00ILBV+hG9 CUsUbg+L+Xa3uSfd24Q5ayPu3NLJYIAcPUcZPjonZ+AE2xTBlL6wIVeoHEO/4n0YEq0v A3iut5lPGez8OnnZztMFi7xrWt13fElzeMVNw= 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; bh=Dt/K7KSZoQyofpCw5YmzVBgIRq0va0aS3GDAUmsl6FI=; b=ZwYs2p0m+8VPpvX4FupdGGne7dOrgcOe1E034QF7r0uIq1RZQ0FcE+1DgaVCYYBwIj 5gQfVMmo80fDXC7oYB37e5lEMtjhcG9RP8eOre8Bk0YFpuT/cXg6xcukbRlDf06XgnCj AKIj23RN6vKygUfvcl85vZjddxtmhdvGTiix3ifcowqHmAIpguKMHt2dHh4xDhY2yeIp UOMxTZW0urh7+nuLAd11m8FCDgLBuoABEQHxYm1dDMIMSc5g9DlPuKkXctVMuQz4883h OEfWnAutr5H3+6Ofm/RQXv0L1KLd7L21/eDPlX56/U5s9o7GY0hcaW4emhJm4PZmxz7z c6pw== X-Gm-Message-State: ALKqPwfJsOv34x0EZoeYqaTWJN6GiT7L+MRBpyvzmSsde1HNc5zzXo6L 1kaiXmOCM3BUBniE7Khn8nzSkg== X-Received: by 2002:a17:902:b681:: with SMTP id c1-v6mr8797003pls.286.1526636819802; Fri, 18 May 2018 02:46:59 -0700 (PDT) Received: from localhost.localdomain ([183.82.227.74]) by smtp.gmail.com with ESMTPSA id j11-v6sm12694097pff.64.2018.05.18.02.46.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:46:59 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Cc: Jagan Teki Subject: [PATCH v2 09/26] arm64: dts: allwinner: a64: Add DE2 tcon1 pipeline Date: Fri, 18 May 2018 15:15:19 +0530 Message-Id: <20180518094536.17201-10-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180518094536.17201-1-jagan@amarulasolutions.com> References: <20180518094536.17201-1-jagan@amarulasolutions.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The DE2 on the A64 is mainly composed of the mixers and tcons, plus various encoders. This patch add second mixer and tcon which eventually useful for testing HDMI. the other part of DE2 will add in future. Signed-off-by: Jagan Teki --- Changes for v2: - Change compatibles and other based on previous patch changes arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 61 +++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 26c2a9c44727..9c1452ee8027 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -107,6 +107,12 @@ }; }; + de: display-engine { + compatible = "allwinner,sun50i-a64-display-engine"; + allwinner,pipelines = <&mixer1>; + status = "disabled"; + }; + osc24M: osc24M_clk { #clock-cells = <0>; compatible = "fixed-clock"; @@ -183,6 +189,30 @@ #reset-cells = <1>; }; + mixer1: mixer@1200000 { + compatible = "allwinner,sun50i-a64-de2-mixer-1"; + reg = <0x01200000 0x100000>; + clocks = <&display_clocks CLK_BUS_MIXER1>, + <&display_clocks CLK_MIXER1>; + clock-names = "bus", + "mod"; + resets = <&display_clocks RST_WB>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mixer1_out: port@1 { + reg = <1>; + + mixer1_out_tcon1: endpoint { + remote-endpoint = <&tcon1_in_mixer1>; + }; + }; + }; + }; + + syscon: syscon@1c00000 { compatible = "allwinner,sun50i-a64-system-controller", "syscon"; @@ -200,6 +230,37 @@ #dma-cells = <1>; }; + tcon1: lcd-controller@1c0d000 { + compatible = "allwinner,sun50i-a64-tcon-tv", + "allwinner,sun8i-a83t-tcon-tv"; + reg = <0x01c0d000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>; + clock-names = "ahb", "tcon-ch1"; + resets = <&ccu RST_BUS_TCON1>; + reset-names = "lcd"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + tcon1_in: port@0 { + reg = <0>; + + tcon1_in_mixer1: endpoint { + remote-endpoint = <&mixer1_out_tcon1>; + }; + }; + + tcon1_out: port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + }; + }; + }; + mmc0: mmc@1c0f000 { compatible = "allwinner,sun50i-a64-mmc"; reg = <0x01c0f000 0x1000>; -- 2.14.3