From patchwork Fri Oct 27 15:06:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10030145 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 62D316034B for ; Fri, 27 Oct 2017 15:11:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50A10287B6 for ; Fri, 27 Oct 2017 15:11:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4560028882; Fri, 27 Oct 2017 15:11:58 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 33555287B6 for ; Fri, 27 Oct 2017 15:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=te23dO6N74UMlH3VxvQO0IVDc9YeXL3IIo++EIduB+w=; b=pl8/yEs2YkQw8zBDj1KfMir8i5 7wlASU7iQko2GABsLOYpAyHlBDZxFO8tCmIDyQA1fR2rzyue9MjsreYo4Zwk54xt2fvThly6mxqV4 mbHV8I45BUoZy5ZW1X5r4s+TOHg/a2NGo+ebPoQa2Un0Y2Cf8VLhEfnfIFKLos594uhNESakeUPsJ HSX4ANd8j0PGEzs7kEJgyg9I4oYA0QhTh9CtVh5wdxQh4SWQ1FUQB+O386aNQfolMhJcVuTY6DnMv HXFdk9//nxR3plzVXcKGmbj79mx906JneoTeKLQmFVIKCcdoOE0LGj9tD7z8HXcF59taKHq2R3jYy mNaPUhtg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e86Ie-0007aE-1f; Fri, 27 Oct 2017 15:11:56 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e86HP-0006pc-Hf for linux-arm-kernel@bombadil.infradead.org; Fri, 27 Oct 2017 15:10:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iSWc0qtJhWl1xq/phJcBRqOl9hBcsSxU11rJphs5ScQ=; b=VUa4rQHeeC5XySktzxz99rlR8 D1SRKDerNUu7M9bh4oUVxjYG6jvb8wGlfGd0Bf6eKfsNuP30Hpv5Ov5MIixymrQycTEVMby2N/8jZ bAs8IWV4cKN5cywl81HDdkACm7eVREEDVnz9FmoHrZ143uhJ4fcjFdpOmGXGcyY3lFhlrD7fBWcPr 6CH71PKjndU8BVZ8UC0FQRQ1u41U4BS9MrcTw5kxg4zeBSwdEuBqPIq5yhzcRUUMPWYFqf9Lw/LpJ BM3tljgsFLGaJu84VWSGoGsKebKItXAQv8OgQYIhEoanlIf+lJxya0W9Cy63CaOc8v6KtGEUMlLOl IyU3QaaIg==; Received: from duck.birch.relay.mailchannels.net ([23.83.209.52]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e86HL-0006v5-SL for linux-arm-kernel@lists.infradead.org; Fri, 27 Oct 2017 15:10:37 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 627437C9122; Fri, 27 Oct 2017 15:10:10 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.143.180]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 85A327C9A23; Fri, 27 Oct 2017 15:10:09 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.63.14]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.14); Fri, 27 Oct 2017 15:10:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Soft-Wiry: 16c9da4b756410ac_1509117010128_243910038 X-MC-Loop-Signature: 1509117010128:1628945043 X-MC-Ingress-Time: 1509117010128 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id AF0E24C215; Fri, 27 Oct 2017 15:10:04 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Rob Herring Subject: [PATCH v2 08/10] dt-bindings: add binding for A64 DE2 CCU SRAM Date: Fri, 27 Oct 2017 23:06:56 +0800 Message-Id: <20171027150658.18509-9-icenowy@aosc.io> In-Reply-To: <20171027150658.18509-1-icenowy@aosc.io> References: <20171027150658.18509-1-icenowy@aosc.io> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP A64's Display Engine 2.0 needs a section of SRAM (SRAM C) to be claimed, otherwise the whole DE2 memory zone cannot be accessed (kept to all 0). Add binding for this, in order to make the DE2 CCU able to claim the SRAM and enable access to the DE2 clock and reset registers. Signed-off-by: Icenowy Zheng Acked-by: Rob Herring --- Changes in v2: - Adds description of the situation when the SRAM is not claimed. Documentation/devicetree/bindings/clock/sun8i-de2.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/sun8i-de2.txt b/Documentation/devicetree/bindings/clock/sun8i-de2.txt index f2fa87c4765c..a7d558a2b9b2 100644 --- a/Documentation/devicetree/bindings/clock/sun8i-de2.txt +++ b/Documentation/devicetree/bindings/clock/sun8i-de2.txt @@ -6,6 +6,7 @@ Required properties : - "allwinner,sun8i-a83t-de2-clk" - "allwinner,sun8i-h3-de2-clk" - "allwinner,sun8i-v3s-de2-clk" + - "allwinner,sun50i-a64-de2-clk" - "allwinner,sun50i-h5-de2-clk" - reg: Must contain the registers base address and length @@ -18,6 +19,10 @@ Required properties : - #clock-cells : must contain 1 - #reset-cells : must contain 1 +Additional required properties for "allwinner,sun50i-a64-de2-clk" : +- allwinner,sram: See Documentation/devicetree/bindings/sram/sunxi-sram.txt, + should be the SRAM C section on A64 SoC. + Example: de2_clocks: clock@1000000 { compatible = "allwinner,sun8i-h3-de2-clk";