From patchwork Fri Mar 16 14:02:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10287637 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 70E61601A0 for ; Fri, 16 Mar 2018 14:42:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E45028F17 for ; Fri, 16 Mar 2018 14:42:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52A4628F26; Fri, 16 Mar 2018 14:42:14 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 EAC4528F17 for ; Fri, 16 Mar 2018 14:42:13 +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=OP6stLbeXsEJDVMPzQJCqjBPJ7QAn3EY/hkNQqeYr7o=; b=QninSuX0p4VWoTT9Z5q1Tr85z0 0RT+EnMwl+vopAc7dAwlQs7+wo6hy1/Tncg3YcKFhCeUzYH3Q0gBvlLnrdDn8srdzqgsijfIqn4jp vIJawCr/CQxgUgecgmaYj0dGhtx2QjooX8W7saF3AxBcYMu9NEzz+6uPE+ePDSZBakXTxFQSy0y+5 GiRIcaXCkmMyZi2qHOuwP57crQ/IY1lt+2FtDU9l1Aj+RF0diM9ANIpTT5V7y+yU8UNjZoy1jUGGf Prz6rruaiGb3x9WXEFJQsK8PeN15AH5IK6X1nLAcdVZBzjvuMbzNAAy/IoY3dcqxy96ZnXbwiRZnd SM5EShPA==; 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 1ewqYY-0008MN-8F; Fri, 16 Mar 2018 14:42:06 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewqWr-00062v-3X for linux-arm-kernel@bombadil.infradead.org; Fri, 16 Mar 2018 14:40:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=z1RrGk11Cq9AHTJdUmpQOD5vBJJYMNGHehL3ciNVVZw=; b=VHy9LVXbyqzSoweZAxavGygZ1 eZNZg8nTjQUzQfw55hk3F2Rroog+CCDY7YZqkkGwYe0yDpgVt5hjykcyXKjp6CZGLua1YrkYqsSJQ bLng2j+Ysm5cUWwicwpNphGkIBPPeknfZ1JzqJKoIuFJoqfHdnzOGktJmQm5GTX7CqfucAemFuD1I Ehx1wFItEzj8fBWj1zJUMVVr1WTjYxGqrv0Jpzb7xv3XyNVzpqfRsVhdyD/33hNdMOCAvqwjxg48h T5M4wamurNxOrTgIvCEGXrrZXZunawOslwHuyGD1yMSOBt4ET4ttXxBeY5sX9Xr381Nb0sw8kpqar yUy7I15UQ==; Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewpzG-00062V-BT for linux-arm-kernel@lists.infradead.org; Fri, 16 Mar 2018 14:05:41 +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 D3BF312106D; Fri, 16 Mar 2018 14:05:17 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.33.5]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 8E2FD12045B; Fri, 16 Mar 2018 14:05:16 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.18.47.25]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.14.1); Fri, 16 Mar 2018 14:05:17 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Occur-Madly: 7abb1a12671e9996_1521209117385_661425136 X-MC-Loop-Signature: 1521209117385:210693306 X-MC-Ingress-Time: 1521209117384 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 869D059788; Fri, 16 Mar 2018 14:05:10 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij Subject: [PATCH v4 6/9] dt-bindings: add device tree binding for Allwinner H6 main CCU Date: Fri, 16 Mar 2018 22:02:12 +0800 Message-Id: <20180316140215.28663-7-icenowy@aosc.io> In-Reply-To: <20180316140215.28663-1-icenowy@aosc.io> References: <20180316140215.28663-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180316_140538_669769_7A415985 X-CRM114-Status: GOOD ( 14.30 ) 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-gpio@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 The Allwinner H6 main CCU uses the internal oscillator of the SoC, which is different with old SoCs' main CCU. Add device tree binding for the Allwinner H6 main CCU. Signed-off-by: Icenowy Zheng Reviewed-by: Rob Herring --- Extracted in v4. Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt index 4ca21c3a6fc9..460ef27b1008 100644 --- a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt +++ b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt @@ -20,6 +20,7 @@ Required properties : - "allwinner,sun50i-a64-ccu" - "allwinner,sun50i-a64-r-ccu" - "allwinner,sun50i-h5-ccu" + - "allwinner,sun50i-h6-ccu" - "nextthing,gr8-ccu" - reg: Must contain the registers base address and length @@ -31,6 +32,9 @@ Required properties : - #clock-cells : must contain 1 - #reset-cells : must contain 1 +For the main CCU on H6, one more clock is needed: +- "iosc": the SoC's internal frequency oscillator + For the PRCM CCUs on A83T/H3/A64, two more clocks are needed: - "pll-periph": the SoC's peripheral PLL from the main CCU - "iosc": the SoC's internal frequency oscillator