From patchwork Fri May 18 09:45:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10414183 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0A6F8600CC for ; Mon, 21 May 2018 08:26:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1FED287AE for ; Mon, 21 May 2018 08:26:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6676287BD; Mon, 21 May 2018 08:26:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8DF8F287AE for ; Mon, 21 May 2018 08:26:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E29D6EFBE; Mon, 21 May 2018 08:20:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1016B6ECD7 for ; Fri, 18 May 2018 09:46:11 +0000 (UTC) Received: by mail-pg0-x243.google.com with SMTP id l2-v6so3096518pgc.7 for ; Fri, 18 May 2018 02:46:11 -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=q2PweYerSghQwHf42FefZDupNk2NUBFqlboXlJTmXsc=; b=QPRfhIFuYuXd+MIWF0Vg9BOHev0KDTD/vSRzBnJ8Z0RVp9IdAqupX5NvgCkkpjgh8C 06jyKNq5nJtZTz+4ZaXLFAbxikLtp7NDtiXY0rWFSgJe9R7PhKXgE5tr7XZ0y+O+leFx mqbvcq7iHr88/679xJMPcvMNj6Ew67xS1N/hc= 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=q2PweYerSghQwHf42FefZDupNk2NUBFqlboXlJTmXsc=; b=Np9UHRXwysJ/jmNAlAJ7a5HacHARQOGKnA/xpR0InLaCUINBxLb0qKLRNFGLlzN+C+ StE/uDcnpFWHLvR8XXLQ9xfXLgvTkWZIK29sbOYXFP0n5D+oQx3GM9CdmVdLI8Xv95qm 3izEqOZy0a0/RebmvxtBBFMVR/v2rLazli5ltI+fB94ULwDtKBndGyu0lopVdApDSF5z hYTInxlPYz+ckMGhK3JBeD5ZdF9UutazszxELHppv1bj+ouVftZA2MT+tg3+T/VhFlvI DMuXNjSElED3hNLNJ/+Pqw2mWX8ReOTAurJbvSkwvnKortlKCZZ53ISTjbYjl1L/BK82 y/pQ== X-Gm-Message-State: ALKqPwdTx9Vzd2IEv/6NQPJEyift9GHa8vBUZhZ3RkNOS4BdH+7CuWwd rK0idcO2FcjcaY2UxUkJfjrMuw== X-Google-Smtp-Source: AB8JxZq+AcjhlgFRV3o16tyMMigzSl9nOR5YdtxaWA2MdcG5RjahF3Ji5jje+6cdHnYS4O7VBq8xhg== X-Received: by 2002:a62:7105:: with SMTP id m5-v6mr8489882pfc.167.1526636770483; Fri, 18 May 2018 02:46:10 -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.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:46:09 -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 Subject: [PATCH v2 02/26] arm64: dts: allwinner: a64: Add DE2 CCU Date: Fri, 18 May 2018 15:15:12 +0530 Message-Id: <20180518094536.17201-3-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> X-Mailman-Approved-At: Mon, 21 May 2018 08:18:09 +0000 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: Jagan Teki MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP DE2 CCU in Allwinner A64 has same like H5, so use the similar dts details for A64 with fallback compatible. Signed-off-by: Jagan Teki --- Changes for v2: - Add h5 compatible first since A64 came first. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1b2ef28c42bd..26c2a9c44727 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -43,9 +43,11 @@ */ #include +#include #include #include #include +#include / { interrupt-parent = <&gic>; @@ -168,6 +170,19 @@ #size-cells = <1>; ranges; + display_clocks: clock@1000000 { + compatible = "allwinner,sun50i-h5-de2-clk", + "allwinner,sun50i-a64-de2-clk"; + reg = <0x01000000 0x100000>; + clocks = <&ccu CLK_DE>, + <&ccu CLK_BUS_DE>; + clock-names = "mod", + "bus"; + resets = <&ccu RST_BUS_DE>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + syscon: syscon@1c00000 { compatible = "allwinner,sun50i-a64-system-controller", "syscon";