Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4812886rwj; Tue, 20 Dec 2022 15:36:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXswxOL6CRKrvu+MDyT5eIRa42EmzqJx0qtFSy71xKjzjxZtKtlyHsGSQoBFof054jwh7DIQ X-Received: by 2002:a05:6a20:499d:b0:a3:2244:1d2d with SMTP id fs29-20020a056a20499d00b000a322441d2dmr5797pzb.52.1671579368147; Tue, 20 Dec 2022 15:36:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671579368; cv=none; d=google.com; s=arc-20160816; b=dcShbYTgKQgNDzGENXVjQDTLK2SOO0ZB9szsUewH+yT0zREP0UXmvcTIPCZ2a2YhzO D/BgqAtK4MIPY6CAZPC3l+9pqJW8lzsQ32vzcF0g+AZPKHbag7r2muOWxuGUfnPxSqM+ ifDASBHkoDxBfwyxH7W/v054wQXUyxx3jt4d/BJCswAyP8L975NbSu06WMtNjPKcEVTg KA5i53p9esKo5W+OGR0m0KH+cQGUpG6aHtL8GAUQ6+T7mbUsNMYBC48amCpoUT9ZkYa1 nfUF6NcpPoNcWcl3ZUW7SxV3/GONjjslmdDr21fpf3nvu9NAY2DQKrITCwo6/hFcVdP6 MWIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ilslpEddHm+IYRYQQLdAGdLnvCAA+JSs3em+VyGWvoI=; b=J41YL8+z/PTet4qXEfiJsadB+RokiAQREu/Af5aBVAEcZUfsDJCj1qtzmTM/dea6Iq wUgG+x4CFeVEe+rmgr7Ge3QQWLvF0xx78C6EA6LUOQEB3jxHAGQeiuwKcDWpMbKQBIzP 3jmnlqmNuWLjeYTYoUOQgxibDW8NYUpornLWXR8DzO5fxf4QYY4wtv5mFrG75FJ0XV2M EwfeKqwX8fpzLseoa6vz0ueaeIWcfRal4LNBbqbI0mOFITdVTwYBrOc+SHKGlMgKURKn 2Z5s1PIcXkhAKxDOGhaTfETkAkT/XWP8PDeN0zmLjst0dAVJpWvDZhXGwxbo8oPwQ1PK 9jfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mgWiKaio; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b32-20020a631b20000000b00477c2ebfcf2si14624622pgb.65.2022.12.20.15.35.58; Tue, 20 Dec 2022 15:36:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mgWiKaio; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234102AbiLTXTN (ORCPT + 68 others); Tue, 20 Dec 2022 18:19:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233782AbiLTXTK (ORCPT ); Tue, 20 Dec 2022 18:19:10 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F8AF1F9EC; Tue, 20 Dec 2022 15:19:10 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EC0B3615E7; Tue, 20 Dec 2022 23:19:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D797AC433D2; Tue, 20 Dec 2022 23:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671578349; bh=qMUMHQtG6S21x4uF4KO8b+hnyWIfjJB888+0zqmuxAM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mgWiKaioHWClemJ2WCkd0i7zKlWk2cbjoeyTwK2nSgdcgF1YAS62qojUink35rzQ0 4SIhzR47AodUfs5DfPN87n2ksgHHD5JskdAkaSwMiF82BbsU6zP6zdGih/pZo9TOZy oBGZ13tp5Bdj9sMioswX5LXY+eWwsgl+5Y7zBPUVknTlooOgI98z3dF6VHfPWxwQzn rZ6BufP85uZZ8ZNSOvKIWuJ03zdIwPlJm1zQjhPt9ui3kAIKJ6VNh6M1eVpNlqu7Lt RlZYv0MrT/tqkTl17WOeaE4vxJC8j/Gv3dslLRaTNwbEFJNe3Vr/63dwjfatIhExSZ qh4Rtxlo9nkxw== Date: Tue, 20 Dec 2022 23:19:04 +0000 From: Conor Dooley To: Hal Feng Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Michael Turquette , Philipp Zabel , Emil Renner Berthing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 08/11] dt-bindings: clock: Add StarFive JH7110 always-on clock and reset generator Message-ID: References: <20221220005054.34518-1-hal.feng@starfivetech.com> <20221220005054.34518-9-hal.feng@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WUqIxYHpBSMPOybA" Content-Disposition: inline In-Reply-To: <20221220005054.34518-9-hal.feng@starfivetech.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --WUqIxYHpBSMPOybA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 20, 2022 at 08:50:51AM +0800, Hal Feng wrote: > From: Emil Renner Berthing >=20 > Add bindings for the always-on clock and reset generator (AONCRG) on the > JH7110 RISC-V SoC by StarFive Ltd. >=20 > Signed-off-by: Emil Renner Berthing > Signed-off-by: Hal Feng > --- > .../clock/starfive,jh7110-aoncrg.yaml | 76 +++++++++++++++++++ > .../dt-bindings/clock/starfive,jh7110-crg.h | 18 +++++ > .../dt-bindings/reset/starfive,jh7110-crg.h | 12 +++ > 3 files changed, 106 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/starfive,jh71= 10-aoncrg.yaml >=20 > diff --git a/Documentation/devicetree/bindings/clock/starfive,jh7110-aonc= rg.yaml b/Documentation/devicetree/bindings/clock/starfive,jh7110-aoncrg.ya= ml > new file mode 100644 > index 000000000000..a3cf0570d950 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/starfive,jh7110-aoncrg.yaml > @@ -0,0 +1,76 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/starfive,jh7110-aoncrg.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive JH7110 Always-On Clock and Reset Generator > + > +maintainers: > + - Emil Renner Berthing > + > +properties: > + compatible: > + const: starfive,jh7110-aoncrg > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: Main Oscillator (24 MHz) > + - description: RTC Oscillator (32.768 kHz) > + - description: GMAC0 RMII reference > + - description: GMAC0 RGMII RX Gotta ask the same question here about the muxing - are all of these clocks truly required? > + - description: STG AXI/AHB > + - description: APB Bus > + - description: GMAC0 GTX > + > + clock-names: > + items: > + - const: osc > + - const: rtc_osc > + - const: gmac0_rmii_refin > + - const: gmac0_rgmii_rxin > + - const: stg_axiahb > + - const: apb_bus > + - const: gmac0_gtxclk And if they are, is this actually needed since the order must be as above? As I said in the previous patch, I've probably missed something... --WUqIxYHpBSMPOybA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCY6JC6AAKCRB4tDGHoIJi 0hj8AP9mlofAGPd6eI/o8Pxq0+Ws0ZQUYZBn4pD5T51KEOWrnAEAqacpXoQxKO46 3Voprv1hHNQASDRuQJzm1tEZBJNHAwQ= =Nwuo -----END PGP SIGNATURE----- --WUqIxYHpBSMPOybA--