Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4265050rwb; Mon, 21 Nov 2022 05:49:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Rrlas2/JJoU+deMX5ohp8FbnUFXZnhMgzJMwUelPgVbE/jfAQjDwfqa14IrT5/uLd0UzK X-Received: by 2002:a17:906:dffa:b0:7ad:84cc:fb33 with SMTP id lc26-20020a170906dffa00b007ad84ccfb33mr7705362ejc.380.1669038558756; Mon, 21 Nov 2022 05:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669038558; cv=none; d=google.com; s=arc-20160816; b=PPmg1e7IDr0uxfF92xoghOKFwLBhuMxu2s8200zPxzm3aF5l8gOjXGOSd+I89wGzk2 OgIo+fzAxOtcROtwetPAfYUCY+5INAEpVCQYNXY4G0DBeZ7cjRKdxnGNjGWTT8c1PiUi wtU9B6YI+vj/+1GeLy8YL3CRUrxEkM5PXFCFb0AoFBxfGg0r2K2DJ65AOzI3km9+rZjq y30tvyr6dFyjTy4At+Kd88eqNksBje5zNZdRj+fcA0eko3JhBGYE5gY/R+RJlJeoldEB Af+/8xbrgDY/WMPizCfh066NAiTjCpZgHs3jXDh1musdf0O+p5dJKfUYs8OQWTILziIS mdhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4LJ8G4Vlx63n7xBM1es556I3FKQ+mU4sDRzPoRdCeX0=; b=XA/e0+0niEkOxgv0scED2epco22b+MG787cVAu9qGMZUynxKbEyTkQLJSpDANrbxIk 9d/762LukGSYP4wZ0Ix9Mro3+7nHUshOBHX7F10LyLydLRMDaQkez8IReZvsbAwV/x4j ah12m7pT+FAXTO34AKPwBjcO02+0ngwuWTy/shQw8bRYw0RC3ZFV/SF9DsBu3CBZ6528 9HdgvccBay0Bmc42bdfVcvSdWLevnp3pKnYZbRnl7q+xteixKHoMVMSZ4VeIXZUyPux1 AU7Wd+a+AZpGi57R+yBmt9MQnNsXINt1YcQ8mL1Z7VBxQG3rLmWerhp0/8BlyIZcK5Zg yPqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kd74NXQh; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr17-20020a170906d55100b00780a882d337si9759217ejc.480.2022.11.21.05.48.55; Mon, 21 Nov 2022 05:49:18 -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=@linaro.org header.s=google header.b=kd74NXQh; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbiKUNYK (ORCPT + 91 others); Mon, 21 Nov 2022 08:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiKUNYJ (ORCPT ); Mon, 21 Nov 2022 08:24:09 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B0302AC60 for ; Mon, 21 Nov 2022 05:24:08 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id x5so15770777wrt.7 for ; Mon, 21 Nov 2022 05:24:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4LJ8G4Vlx63n7xBM1es556I3FKQ+mU4sDRzPoRdCeX0=; b=kd74NXQh18wXsJRyAWwjOEZo6k21PuwDdsL4ZmNCSg8eLPjALRuiX3ZSZ5RiPInHwR ObrJ3F6rZaax9BBwPZ/cvOeJc/ZhxFdPBuWApa+uEQBY4ySZcH21fNOOgG9TV+srlhDK sJY+fpmEVh/moUjqN9GhrBjkFat4UZ8IPCrZJcTuBV4VqYDooAI7toY9pkzEJnVlkZWj qUmdWlYDENIMiVkRQwvaCWjmxPhzMpVE2mkYaJ/24jawnIMbzkaIv0uj21BSneaHWECg gpmHNhIRtXHe3dnyAW2YWKDFkDqeOKdHhwnrRqZAbHOXP2OpS8mCCYsDgrBvNp1LaXvE p7eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4LJ8G4Vlx63n7xBM1es556I3FKQ+mU4sDRzPoRdCeX0=; b=W2sTsbF7YsWuAUQlZ1kSe5IyHlEWzlpm6Uuxd6kyV4GxOamVKoJ9bi8XSq21DchufB Y+BEYTV7BvUXo246/cA63CTBbKk0BZBeM3w+GfHLy0Nh5vJBQg2jC57sieMyKShDzdAK Tr4zT3I9OfdZvTrTMMtdlACHBjVmQnlsGE87WaK6SyNLQBwvzHbEH/vE1EFw7FITqjP4 43gfP6jSjoH9SFn/8qRxpCrCSYQXx08+5w2DpGzZiCQ+U38fowKjiNYIH8oB/bHP4Q+X qcRM57gd6rcoEO9c73CQbbLgpLQJRw2383SPUr1c6o5bWgpZ5mQHjuet6dWZ4TOo8Ywz Hv7A== X-Gm-Message-State: ANoB5pnnxE9I2gGYNTc8+wq7303Y3A6YHBIwxW6m/N/1pWP8TGbS8NJg 4Sp0MyijJj7zrI1pL9o5QxWxtFuDTzj8xELP X-Received: by 2002:adf:e98b:0:b0:241:dbf1:dad with SMTP id h11-20020adfe98b000000b00241dbf10dadmr363012wrm.130.1669037046505; Mon, 21 Nov 2022 05:24:06 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id f19-20020a05600c155300b003c6f3e5ba42sm20242257wmg.46.2022.11.21.05.24.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 05:24:05 -0800 (PST) Message-ID: <7815f518-c764-a3d8-cde6-89c1f17c2329@linaro.org> Date: Mon, 21 Nov 2022 14:24:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 10/14] dt-bindings: clock: Add StarFive JH7110 always-on clock and reset generator Content-Language: en-US To: Emil Renner Berthing 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 References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-11-hal.feng@starfivetech.com> <8153973d-e8ad-e47a-3808-bbcdbfd169a5@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 21/11/2022 12:38, Emil Renner Berthing wrote: > 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. Then description should match reality, not documentation. Documentation is often poor, so if possible better to extend it. Best regards, Krzysztof