Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4302671imm; Fri, 18 May 2018 02:52:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoEjGIaDhFOt2t9tX0G+or+Zu+5C/BSQvB1LTfxzRdjW4z2tM/QIPnyxQP4RPUjhm6jYc7O X-Received: by 2002:a17:902:7d94:: with SMTP id a20-v6mr8941526plm.123.1526637157978; Fri, 18 May 2018 02:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526637157; cv=none; d=google.com; s=arc-20160816; b=Ac8+8dAGPQGuMU/CBvzBOQ0cBCU7abtKlitVyIbOBbTuFrZV7e4RLo9pMJCT95xzoL o/JIeTMe3Eap0po5S6qeiTODal+MXI9nf9y87hDU/+PbAEO5+KY3sQT6Cbz82YruDFKB REFoVK9bO4w4Vm5+z9BpRDARiVOIM2h4ZvQCsKJcGl8+fj2QqZthbER2JXCdYBTgPm7o 6JcKSkrw3oeoBW7imxrPtkJuN7QbCGS57SX0MoJC2Yt0Y6CQzJYZVsiacxNHGeNQK6nG 6zgrb4Al7A9Okb80yq26XBuAFCY9Rnr8npGRtfrkMzmgt/H1TUPyoRml3i1DmpLWvIV1 4nWA== 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=RiKMzBsP1EqQM9mjNDeFqsPVDhhO7VAzxss9jeuQwdc=; b=KJ6RISH+dchLdrPQZzIEvfK9i75w66tlFzyXpCkgZfTcMXC5XzTc6rlMxtuKu3SwjI LJqyOUZ8GC53sX5TmbJV0HPUWTCQb8KE8zQWWXTH31/ND6recaUe6VjGkssURicIYmD2 Q5NDYX5jS2xSakK6aUoMIm2DdZ4qfd0+tPdJP4300PpbYukTQOPPXU/i1dxTomJFmtzc TisNGnHhPEm2omsDxJzI+JneXYEqnD67GhoESactA5p0BmPrIZeFAXVVKxp611XYWWrb AN0tIyWHHO0THGBTo1vau52s2nr3bvfw/eMLsfqXSqhg8hXwJHKUn3QwNqBpIvgOYL43 xc9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=f3jjxlTl; 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 v23-v6si7511237pfl.233.2018.05.18.02.52.24; Fri, 18 May 2018 02:52:37 -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=f3jjxlTl; 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 S1752868AbeERJr7 (ORCPT + 99 others); Fri, 18 May 2018 05:47:59 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:38546 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752386AbeERJr4 (ORCPT ); Fri, 18 May 2018 05:47:56 -0400 Received: by mail-pf0-f195.google.com with SMTP id o76-v6so3511347pfi.5 for ; Fri, 18 May 2018 02:47:56 -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=RiKMzBsP1EqQM9mjNDeFqsPVDhhO7VAzxss9jeuQwdc=; b=f3jjxlTlZSRK9n2ryuxCKqosodmQke4lB+KwZ/VDb2w/37UbuI76eKc185bO5n6Y56 Z0rz02+SHL5JPA77pHgeR/C724dskBeZ7uNyqy7ihWCj3AL7hOHDWAK8H/s3jPiUVS8M WcK3LO3cXBJBPlIVa7p1VgbRrp+0K+R40kzaw= 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=RiKMzBsP1EqQM9mjNDeFqsPVDhhO7VAzxss9jeuQwdc=; b=kHOJOp++2v4dFlOhwDku4EiteJtCXRu1F4L0mbg2pe/xC7bMK+VuxQaLI2rbTVrVN6 SdHJTE10Ig8U95nprzlP0UoS2MR/LHyqNU5nYaOLuBrDHjnMZzbhlodYlNDV7dmkjMN/ vyViabIwSlHvw38NJ097IgWgrl54wYJTGrxEJ2SEg9vXcJYpPpMahaSWq9P3Sj9vHEFg u/TPuRWurrY0zJgV0k8sVqEmRu6CaU1magxBjH1xw8iwkF+RLMIZfOmStlPdokfxl0vb VXvnaqjBUiKGeFW4QLFEcZwKnvMCm/e+QvvKaeSrsV5yif8gjM/QTDSckfmlMOFssJzt I9tw== X-Gm-Message-State: ALKqPwekDvWjUiAB6NUrFRc4z9IH30MeBweOvcqDsH89thsv+kRb+d7m P2uLHp1yhQPHgocHQlhaT5eh4w== X-Received: by 2002:a62:1e02:: with SMTP id e2-v6mr8770374pfe.212.1526636875574; Fri, 18 May 2018 02:47:55 -0700 (PDT) Received: from localhost.localdomain ([183.82.227.74]) by smtp.gmail.com with ESMTPSA id j11-v6sm12694097pff.64.2018.05.18.02.47.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:47:55 -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 17/26] arm64: dts: allwinner: a64: Add HDMI support Date: Fri, 18 May 2018 15:15:27 +0530 Message-Id: <20180518094536.17201-18-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 HDMI on Allwinner A64 has similar behaviour like H3/H5/A83T, so reuse the same dts node details for A64 with A83T compatible as fallback. HDMI PHY on Allwinner A64 has two clock parents so add them as pll-0 and pll-1 in CCU clock phadles. 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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 9c1452ee8027..4ffd4787acd2 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -705,6 +705,33 @@ #interrupt-cells = <3>; }; + hdmi: hdmi@1ee0000 { + compatible = "allwinner,sun50i-a64-dw-hdmi", + "allwinner,sun8i-a83t-dw-hdmi"; + reg = <0x01ee0000 0x10000>; + reg-io-width = <1>; + interrupts = ; + clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, + <&ccu CLK_HDMI>; + clock-names = "iahb", "isfr", "tmds"; + resets = <&ccu RST_BUS_HDMI1>; + reset-names = "ctrl"; + phys = <&hdmi_phy>; + phy-names = "hdmi-phy"; + status = "disabled"; + }; + + hdmi_phy: hdmi-phy@1ef0000 { + compatible = "allwinner,sun50i-a64-hdmi-phy"; + reg = <0x01ef0000 0x10000>; + clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, + <&ccu CLK_PLL_VIDEO0>, <&ccu CLK_PLL_VIDEO1>; + clock-names = "bus", "mod", "pll-0", "pll-1"; + resets = <&ccu RST_BUS_HDMI0>; + reset-names = "phy"; + #phy-cells = <0>; + }; + rtc: rtc@1f00000 { compatible = "allwinner,sun6i-a31-rtc"; reg = <0x01f00000 0x54>; -- 2.14.3