From patchwork Fri Jun 22 12:45:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10482029 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 C8C91602CB for ; Fri, 22 Jun 2018 12:49:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A721628D36 for ; Fri, 22 Jun 2018 12:49:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B8D328D8D; Fri, 22 Jun 2018 12:49:51 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 472EA28D36 for ; Fri, 22 Jun 2018 12:49:51 +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=Sgs4Z2o9H7wk4zSd9ZWB4TYcdoY2fuvrZcUZxFvO2Cw=; b=hpiVo/BcHxgefVvhcI8GHiG/Sk Bdj5NTYWzB7+VtMQiN6LRLkS/yPpnk171p0le816JDlD80mpo4BqhLzXLj2UVQonQ6UejHTvyqbtB RiY3UouP57cSvfyqpbTU7Hq7wVFbmLQ3krbbEpgbMJRxbwJvUQ391cch4fMBMIl2HqRT8caMfIx1d ch9H3ddk1NjhVSw0fQlwb9obO6OvUBHLM36ZggS+rHxdi3vGH92MH30Sk+TKTCWdoYbREJXmySWjz 7gSaQJ1WZdXIafFbgq7crv0g6DTWlLKk6H8sGqzB4Mbp5UYHUC5thI1Qd8XxCkfDHMLbeCCQrf4Ak J+ljDKzA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fWLVY-0003bV-7L; Fri, 22 Jun 2018 12:49:44 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fWLVI-0003VT-73 for linux-arm-kernel@bombadil.infradead.org; Fri, 22 Jun 2018 12:49:28 +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=eHf35TlgGdRjX1Oqoil64JORl0kgTo/cj84ciZrS/bQ=; b=kFIZuHgMqF20wAubAOaB/isIF lZvCJIDQUShtvhFQkId0htw9/TyXIsVqUr9DlmrXKKRU73jO+YuVbmbDjJ70FDW2IOOC0DaIGNzHo MmKueAedqTC8EpHcZtrvReggSL0w6YfQ6jvOffWAzWhXNXYprnxx8tZ/JCEMlp8MTR7qtlDPbDiro rpabHrnsi+VOk4sqjQ8f+NHvZx2m+po6RaTLEg0sdc2/TZLmgYmq5zZ9PGXgLOC53yuKQuGJOxakK tYGc05LeArxCx46RtqQJMB8wMWm3xzP7SGE0YwVMnqEb1GGegrkXXwWEB3BPFwjxA+KfA0y3qBG2b 8iB/Fhb2w==; Received: from butterfly.maple.relay.mailchannels.net ([23.83.214.27]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fWLVF-0007kE-1T for linux-arm-kernel@lists.infradead.org; Fri, 22 Jun 2018 12:49:26 +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 AFC1C5C30C5; Fri, 22 Jun 2018 12:49:04 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.17.92]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 7497A5C3110; Fri, 22 Jun 2018 12:49:03 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.18.52.53]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.15.2); Fri, 22 Jun 2018 12:49:04 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Inform-Cure: 37847cb007f38598_1529671744169_2690655741 X-MC-Loop-Signature: 1529671744168:1771673001 X-MC-Ingress-Time: 1529671744168 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 911B7630E4; Fri, 22 Jun 2018 12:48:05 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 4/7] clk: sunxi-ng: add A64 compatible string Date: Fri, 22 Jun 2018 20:45:37 +0800 Message-Id: <20180622124540.56203-3-icenowy@aosc.io> In-Reply-To: <20180622124540.56203-1-icenowy@aosc.io> References: <20180622124540.56203-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180622_084925_266848_9C87AEFA X-CRM114-Status: GOOD ( 19.71 ) 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, 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 As claiming Allwinner A64 SRAM C is a prerequisite for all sub-blocks of the A64 DE2, not only the CCU sub-block, a bus driver is then written for enabling the access to the whole DE2 part by claiming the SRAM. In this situation, the A64 compatible string will be just added with no other requirments, as they're processed by the parent bus driver. Signed-off-by: Icenowy Zheng --- No changes since v1. drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c index 468d1abaf0ee..8df7cd93453e 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c +++ b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c @@ -292,13 +292,10 @@ static const struct of_device_id sunxi_de2_clk_ids[] = { .compatible = "allwinner,sun50i-h5-de2-clk", .data = &sun50i_a64_de2_clk_desc, }, - /* - * The Allwinner A64 SoC needs some bit to be poke in syscon to make - * DE2 really working. - * So there's currently no A64 compatible here. - * H5 shares the same reset line with A64, so here H5 is using the - * clock description of A64. - */ + { + .compatible = "allwinner,sun50i-a64-de2-clk", + .data = &sun50i_a64_de2_clk_desc, + }, { } };