Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1610200rwd; Sun, 14 May 2023 23:53:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ659D4BZhLZtSoP+bZxJTo1oXr8a/Ix0q/uHi4EXBqy02+IbY4PTkyyy+A5Vl+0JwK/hBhj X-Received: by 2002:a17:902:a706:b0:1ae:1751:159 with SMTP id w6-20020a170902a70600b001ae17510159mr2894298plq.23.1684133608468; Sun, 14 May 2023 23:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684133608; cv=none; d=google.com; s=arc-20160816; b=qVTU0ibpmFY+KjF4g7VVqrU2bckLDuUwu/tWvcPpF40DB+PEexQ27MRCfEoEu7LA76 ToUqUF7nukA0jf0e6TWHwmN2wC7kejNyYx8DzPRgjW7wMJDTnFPqUJ9F8897BNElV6WI /asKWuvCoU/QoZybCmx0URzprm7Pb0n3PSt7fqv9q2/JX12D4tH5y9VHlHOS9vAx1OG6 sqjWVFiM3NFgQSv7XLO2sfrlvz1ffH5HIf17TCvG0wMz8W3wCxe/yhNf8bHkCAid5D3U ClMKLhhjf4rMNdXKCTI3cdC9TzQ690S4a4Q4C61M+gQgFhpzuMjiHY9BXKdxfUHg8qoQ XNrw== 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=qKPNUzjoxIt2qle5yyUBx+bzfhRe4atuWwPXnoKqr+I=; b=O2t/Qa1raOjDohSmidaAlhp1cAyd+pNLtuJOztFEqDJXUCZOPz/OE7eo7HLjBq6T5a z4zTYcAEy9ufI7fCnReITi647Hfrko5q+bfFDh+IeE62otgl8uRrP0gTuI14ZTeqI66m 8jD7z20zsvVgTPALHGr6XH38WUbcGRERzS8jnX8VdRggd5GaBrEXzeWTR3LeKH4jdAl/ Z6NgBZ3JBa0qWYYNfxGd+d4JDir/3MHnfhCvPkSKZH23NejlCFwFEEpvqJVqGC9A5sQh rB6HF2esc2VtTbHFI+xB3VzZG0utQcqNNSJyIjmYeuwVK1fGCpufbU4hTQQXXbsWUP3n vFOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i0rOmp8m; 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 k9-20020a170902c40900b001aac7641a19si16458024plk.257.2023.05.14.23.53.08; Sun, 14 May 2023 23:53:28 -0700 (PDT) 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=i0rOmp8m; 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 S239815AbjEOG1G (ORCPT + 99 others); Mon, 15 May 2023 02:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239804AbjEOG0y (ORCPT ); Mon, 15 May 2023 02:26:54 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF6871BE2 for ; Sun, 14 May 2023 23:26:51 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-50bcb4a81ceso21767487a12.2 for ; Sun, 14 May 2023 23:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684132010; x=1686724010; 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=qKPNUzjoxIt2qle5yyUBx+bzfhRe4atuWwPXnoKqr+I=; b=i0rOmp8mgMrmR30bV4O+LQ+jOpWIkqsnD3dfhCBrHxL6VrwBvi1R92pPpXXejeRZlR 4ut9hMkEDnvlR7YDto5UTrk4sgeKmrTuFKlBH0WyxUzhmIx3E+c5TiPtONH5zBydqGrA qCMBZbIkIoOwq3QumgXHx9eV7DpX8hZ2lBHgh5wyHznKoglu9wZTF57C5Sol3LW0TBDi syjRgknmwz54wGvXMBq3qJ8GvG0jj9Gt4VhJWSYfy4qRQpzyQ3ZON2+cfHAAhzbJ66Op u2oviZ3B4KKL2EHWCNPphpefFZzbOSTBQN5ymDWTROIyGXPzijTCiEyDkXgGu50mxzrb fygA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684132010; x=1686724010; 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=qKPNUzjoxIt2qle5yyUBx+bzfhRe4atuWwPXnoKqr+I=; b=U1yf8laj79Tak/1gJUimrFaxUxMi2ZzsIGJs82cyUnrL0eBf2PAMZhWv3SRxoPdYiu PTEqRPMrjX12e94961ttZXk2+1IP0S678VhTLJOefiDf6asg7A6VFah6/rAel9bIuJ1g TTHJc1u5OxolbfBFeI2eATrrA8lA1wwNTaZTUR4CwEypno+7iDA7d0ofBlVM+R5eACA0 1VwG/dJRvKSLNwqFSkWIQVsvOpu/afv/cgTmTLZFHdPTV48MbA1Qlp3v5Tdof35Va1cD YY6ycfnOd1T6Xn+Fs4Qz6nczlSKZb1YdVi0s6mtmcYU92SZZogDlc8/eyQEFRunr/BJj 0A9g== X-Gm-Message-State: AC+VfDykp0wH3QhBxT7MLoxbdxXeMLl/yGEnQMjKCNMxnwngFEU1NhtW Qb+bd18wO3CuUyFw1mvhnd8vUQ== X-Received: by 2002:aa7:d982:0:b0:509:f221:cee2 with SMTP id u2-20020aa7d982000000b00509f221cee2mr26674380eds.32.1684132010534; Sun, 14 May 2023 23:26:50 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:6470:25b8:7c2d:1992? ([2a02:810d:15c0:828:6470:25b8:7c2d:1992]) by smtp.gmail.com with ESMTPSA id n25-20020a056402061900b0050a276e7ba8sm7069699edv.36.2023.05.14.23.26.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 May 2023 23:26:50 -0700 (PDT) Message-ID: Date: Mon, 15 May 2023 08:26:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/3] dt-bindings: clock: Add thead th1520 clock Content-Language: en-US To: Yangtao Li , mturquette@baylibre.com, sboyd@kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , Wei Fu Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Icenowy Zheng References: <20230515054402.27633-1-frank.li@vivo.com> <20230515054402.27633-2-frank.li@vivo.com> From: Krzysztof Kozlowski In-Reply-To: <20230515054402.27633-2-frank.li@vivo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 15/05/2023 07:43, Yangtao Li wrote: > Add devicetree binding document and related header file > for the T-HEAD TH1520 clock. > > Cc: Icenowy Zheng > Cc: Wei Fu > Cc: Jisheng Zhang > Signed-off-by: Yangtao Li > --- > .../bindings/clock/thead,th1520-ccu.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/thead,th1520-ccu.yaml > > diff --git a/Documentation/devicetree/bindings/clock/thead,th1520-ccu.yaml b/Documentation/devicetree/bindings/clock/thead,th1520-ccu.yaml > new file mode 100644 > index 000000000000..c3e2d8c7efa6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/thead,th1520-ccu.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: GPL-2.0 Dual license. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/thead,th1520-ccu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: T-HEAD Clock Control Unit > + > +maintainers: > + - Jisheng Zhang > + - Wei Fu > + - Yangtao Li > + > + Stray blank line. > +properties: > + "#clock-cells": > + const: 1 > + > + "#reset-cells": > + const: 1 > + > + compatible: Compatible is always first property. > + enum: > + - thead,th1520-ccu > + > + reg: > + maxItems: 1 > + > + clocks: > + const: 2 > + items: > + - description: High Frequency Oscillator (usually at 24MHz) > + - description: Low Frequency Oscillator (usually at 32kHz) Does not look like you tested the bindings. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). I'll stop review. Best regards, Krzysztof