From patchwork Mon Apr 30 11:40:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10373211 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 E380F60327 for ; Tue, 1 May 2018 06:53:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3FD728BE0 for ; Tue, 1 May 2018 06:53:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8A0028BFB; Tue, 1 May 2018 06:53:19 +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 66CD828BE0 for ; Tue, 1 May 2018 06:53:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 312CA6E3E2; Tue, 1 May 2018 06:51:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id A0A296E1F6 for ; Mon, 30 Apr 2018 11:41:24 +0000 (UTC) Received: by mail-pf0-x244.google.com with SMTP id e9so2553599pfi.4 for ; Mon, 30 Apr 2018 04:41:24 -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=WCSx0+qRSeo6EOHeZBPv+z+7TG/VtU82LRJS37bLGuA=; b=fR6DvLn2XYRis1B+qLmZKerSczdmooaN8kdSa5n4bkv2Eksv0fNj90zzw4D0XK9urx WvqJwFXxDnBapFDHTN4QtrnYghnXNAUqZA0Y+CCdgPTG4abRQpwSFcoGOf6PHhwDyG0D ff9EzOIVAP6TQv1BTgw6jCRWxRSLDlm8DBjrU= 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=WCSx0+qRSeo6EOHeZBPv+z+7TG/VtU82LRJS37bLGuA=; b=J64+PlZ8D8whkA/HOpTPq0Nu/X3mSahZ0Sh58fW8WYB/Za9YJl5gojb6zDPy9wbl9W NUPqDLOnny7jdwOdkO4vehhjeHQypFXlKAoTeLXZ4FXQrbDXHs423tS4AKGdJO53I0xY UdYBalYUlSdw8gSXhC3+8prfWOKpdMaA6aCUBoZn45XwQK1REzaujqN6xoKTsBPdcr+T 3SN6GwoytRok95TOMfXzqx7DKWfSMsZyBWL4KqBitEIJvSSXXW0HWg5bRm542B242p/k H5Q8vEXyJQp1OjbRl9pbvejRIpHatuplSSiRDtOIBWsWCGVsq15q5bReWF/X38Dcm6A3 nF3Q== X-Gm-Message-State: ALQs6tCDFZcuiWQeL7YNhhjdBdrNCcZHhvPXGXebu99MHNlXq6YmZXqC /l5lnag5BTCAFZ8gBp7Y8ic9WQ== X-Google-Smtp-Source: AB8JxZrSZZKsxg0fOYshdeH5N/wOhG67Q7xXF8asJviCuELHmxMUTrwj+hB0g5+g3XYpL3XHQiIyDQ== X-Received: by 2002:a17:902:9a49:: with SMTP id x9-v6mr11852180plv.94.1525088484211; Mon, 30 Apr 2018 04:41:24 -0700 (PDT) Received: from localhost.localdomain ([183.82.224.14]) by smtp.gmail.com with ESMTPSA id s17sm16762357pfi.165.2018.04.30.04.41.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 04:41:23 -0700 (PDT) From: Jagan Teki To: Maxime Ripard Subject: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU Date: Mon, 30 Apr 2018 17:10:39 +0530 Message-Id: <20180430114058.5061-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180430114058.5061-1-jagan@amarulasolutions.com> References: <20180430114058.5061-1-jagan@amarulasolutions.com> X-Mailman-Approved-At: Tue, 01 May 2018 06:51:33 +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: Mark Rutland , devicetree@vger.kernel.org, Jernej Skrabec , David Airlie , Catalin Marinas , Michael Turquette , linux-sunxi@googlegroups.com, Will Deacon , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , Chen-Yu Tsai , Rob Herring , Jagan Teki , Michael Trimarchi , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP DE2 in A64 has clock control unit and behavior is same like H3/H5, so reuse the same in A64. Signed-off-by: Jagan Teki --- 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..67b80bbe5bf5 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-a64-de2-clk", + "allwinner,sun50i-h5-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";