Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4139564rwb; Mon, 21 Nov 2022 04:20:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf7hlU8dYpNPXcBFZfwKvhdA3vIviaJqrPKldW3mZuBU1MNVDg3uZMVuhr524LbPbcJILuwG X-Received: by 2002:aa7:8513:0:b0:563:3d81:7faf with SMTP id v19-20020aa78513000000b005633d817fafmr19959313pfn.45.1669033204873; Mon, 21 Nov 2022 04:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669033204; cv=none; d=google.com; s=arc-20160816; b=dWiv4d7IZLTrBoIP78K3G7ryf8bK0fUc8VhVR5uq2vMC5CRovEbBQtDgkDsvwfj6cR UeBIcldc7Ans6KrnO9wsMzzCHGUoe0zbsCcxEXiu7Nj6VRQ58meDxBcIQjej8j/9DLbR RgW5oVvIdOGnrGo+FIyP3Ya3QeluMbiVXK258ybBhbi4ceIET0vAf6C5YDiccA8TeS0G 70WQ/umueDUzyC0I2bNVsJn9wkHrC573rAHaeU17tkF+gDEPqh2wFjkpKTWU+6m/ar5D raUKBWZC8CyOVqtCTzgOwWxoTRrQmuX2nfdqdOyimYQFjdyPqcyjU0jEiirsK4S4/hLf bDRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=k1LFdNn2YthCqXfDo2Al9HOEWWRFBoST7OMZo/loF+4=; b=EZMr24hOo6uFTMHDK/TNHgljh/DhdlHe5bt44VsGgAOC7K2K/Xdh4KGW4bkIzSQBs5 N2dl2DMTdsJnlezEpsky/0eaI1eNUDsd/J3TOel+SagMAqMMeRV/m0+6ODHiouBzUu0g UDvv37zOb4erF7GnaR29Fj5AXB+CmLyN7B1a96prcFwmdcnRBdXIJ32BVPdVbX49Xzso XaZASv7rVWnHBZtyCVA6fBUMwnL1QisSjOEd8hLiALLHuqSuer0sZNAGb7GQVsEKrNWq Kxev9EjIi5gctmX+rfUMtFAvL6dqwtoRyAl0EW3uL5GERlDprJopIyzJZp6fAkRwuO5i 88lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=qQ8GF2PF; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w184-20020a6230c1000000b00571d4ca44ddsi10040127pfw.333.2022.11.21.04.19.52; Mon, 21 Nov 2022 04:20:04 -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=@canonical.com header.s=20210705 header.b=qQ8GF2PF; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbiKULkD (ORCPT + 92 others); Mon, 21 Nov 2022 06:40:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230426AbiKULjk (ORCPT ); Mon, 21 Nov 2022 06:39:40 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FA63450B5 for ; Mon, 21 Nov 2022 03:38:36 -0800 (PST) Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 180DB3F513 for ; Mon, 21 Nov 2022 11:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669030715; bh=k1LFdNn2YthCqXfDo2Al9HOEWWRFBoST7OMZo/loF+4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qQ8GF2PFJQe0ondbPn9KpePolZeE1DCKWnPRm56IMDk88w2zK9Zpy9idVkUprUBt3 jkzpC9PlwKjo6el/z7T5MlZVEzsLu24aa1TW1l7YjsETi/B1liUtAzPM1zlGdCtgs4 qtE19++7cSBqoisFsV2WTIYxL6Ww383Se8cbWhqCy+Xt4d48vxfc0f0WOTIvK6HFu8 vhyCcXhZo4bXlHeHdFEiPoGx1E6PmUfrYXPMrrZNu37v36HlimV04T5aD5YC+4sBIy ojRUuI21RWdd9bPGAHmoEuAwC7P8a6wc3U8Hnp0nRIl9DRUz3uTq6UR2CnNwU7Barn 3eZrQY0GjyLGw== Received: by mail-yb1-f197.google.com with SMTP id w127-20020a25df85000000b006e990dfd5b8so6091418ybg.1 for ; Mon, 21 Nov 2022 03:38:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k1LFdNn2YthCqXfDo2Al9HOEWWRFBoST7OMZo/loF+4=; b=LQikgSDP5VE1+wWg/jpgB9Jfo11C9GhTsbPs0DRsFVo80vVImZAR4rvsWqV/6PchzQ IkkHvBFmI9Ml5/Wymig1NBvraZD4WIV8bTm7BBJmO4rUCmy7GHemceTCCluXeLXpPmNX tA3V7bvdmnhr+hCOUMGbTKafkS+kaxn+bD8dwm6UmwOKiTplgi6WhbA2Qz41hvbZjyPC TtVtdh9WSd5Zh6ET0vL9shm1Hb3FEq+JrUejuHd0TJ8eHR8VKPYVljTjYAG3mJz+E6FO jzaTBoze98vtgCTe6HYP7E5/un99G34E2nhBoXYvu3y6oPQ6fBAczvyoW8SeYuDJsqPc g+Rw== X-Gm-Message-State: ANoB5pnf53X+Vzp8I8Gras8PsOgQ+8mrebu3c4aJ9mGrgR4Pl7OQuwuG Y06SddRKpxxJAZP9FEEcf5HWs9fBiHfwmJy12ZeIJ2OWLns30mqtdeqWgx+424D6+M9319tf0zu h0K/E+R278TNHkKZpsqr6OG/p0PreKvuF04xNUDpdfbzbyO2qaycfM33d2Q== X-Received: by 2002:a25:e80f:0:b0:6df:927f:38c9 with SMTP id k15-20020a25e80f000000b006df927f38c9mr16158715ybd.92.1669030713973; Mon, 21 Nov 2022 03:38:33 -0800 (PST) X-Received: by 2002:a25:e80f:0:b0:6df:927f:38c9 with SMTP id k15-20020a25e80f000000b006df927f38c9mr16158698ybd.92.1669030713733; Mon, 21 Nov 2022 03:38:33 -0800 (PST) MIME-Version: 1.0 References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-11-hal.feng@starfivetech.com> <8153973d-e8ad-e47a-3808-bbcdbfd169a5@linaro.org> In-Reply-To: <8153973d-e8ad-e47a-3808-bbcdbfd169a5@linaro.org> From: Emil Renner Berthing Date: Mon, 21 Nov 2022 12:38:17 +0100 Message-ID: Subject: Re: [PATCH v2 10/14] dt-bindings: clock: Add StarFive JH7110 always-on clock and reset generator To: Krzysztof Kozlowski Cc: Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Michael Turquette , Philipp Zabel , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Mon, 21 Nov 2022 at 09:49, Krzysztof Kozlowski wrote: > > On 18/11/2022 02:06, Hal Feng wrote: > > From: Emil Renner Berthing > > > > Add bindings for the always-on clock and reset generator (AONCRG) on the > > JH7110 RISC-V SoC by StarFive Ltd. > > > > Signed-off-by: Emil Renner Berthing > > Signed-off-by: Hal Feng > > --- > > .../clock/starfive,jh7110-aoncrg.yaml | 76 +++++++++++++++++++ > > 1 file changed, 76 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/clock/starfive,jh7110-aoncrg.yaml > > > > diff --git a/Documentation/devicetree/bindings/clock/starfive,jh7110-aoncrg.yaml b/Documentation/devicetree/bindings/clock/starfive,jh7110-aoncrg.yaml > > new file mode 100644 > > index 000000000000..afbb205e294f > > --- /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 > > + - description: RTC clock > > Real Time Clock clock? :) I don't think the input to clock controller is > the output of RTC... The description is bad, but even the documentation calls it "clk_rtc" even though it's really an optional input from a 32k oscillator. > Best regards, > Krzysztof >