Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3923412rwb; Mon, 21 Nov 2022 01:07:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7202hLTiNfF1mjgNcJJXkbkyWMAfmG/iHzsVH2oNvgFPNOK2WXz4xmOl6QKj5tEaVTV0l3 X-Received: by 2002:a17:90b:3c4a:b0:213:1d14:2a27 with SMTP id pm10-20020a17090b3c4a00b002131d142a27mr19580543pjb.109.1669021642391; Mon, 21 Nov 2022 01:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669021642; cv=none; d=google.com; s=arc-20160816; b=DAjgGlb1w6ds2nHEnv+MtEr6cax1UZMAy5VqMC/KU9SeW3YsJP5CtqHDGGB4Z38F7z xjruIGfOhBhhGGAvLsLItUGRLb7dFIKdgWRhK4VmhI+EFnokj0LIjP0sHz6g1ErPPLGO LLzVap48kzA4o/ktAdGtMkaVEDZEwYVr1zOqT1a36COtweDCUte3rCK7BNzlYecvnKX8 q9M6RsjFyci5ABy7F5Eren3fvJmyb6E78z60cVawSKHEbaGj9/RiU2i643I+rUZjJfGe lmm6Bt9NpFyHFB90zcyWrsrYWBcZ21vex1gM9wdNJ7nBpOmy05DkWXU+tXKAUk55F/mB ejHw== 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=kndWz83Xral0dUFOAKp2Vmc6vOTcnvs9YYJQaOTyYnk=; b=OsUktLhUzsxmwvMpALMbQvM/p5+6Vv5cnGDUV5BhWJ7LcdlO7tG2myzkGN3B/3UaNC Atxo8ZG3e+uhWYWfxV9b+ZX634JaWlqa45fNloa4+e6DG7sd+Hu96TyBaqxBZoijLBKk FD7pzHZkdnQ/TcEJKNuD5JBHpDRek7YErDGecnCdy8/d9Fvg+HcG5/nHJujDs2iFZ4xs HjGBUtRJe3ulhN7dBLbLV11ZWNaNaO8LVLZiXO3ghKAUY0wZ45vY6dbz0HlnkxMhP+Kw oxrb4UP9x8GURY2E1T5zEdYFhhlWuT2KA3qOlj91UoaNzfnRxRcK6Xt2ozaZkeW73NHD c3bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GkKeSc7T; 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 pj8-20020a17090b4f4800b0021308f24606si14273035pjb.123.2022.11.21.01.07.07; Mon, 21 Nov 2022 01:07:22 -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=GkKeSc7T; 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 S230040AbiKUIrO (ORCPT + 92 others); Mon, 21 Nov 2022 03:47:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbiKUIrN (ORCPT ); Mon, 21 Nov 2022 03:47:13 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53B5E6D971 for ; Mon, 21 Nov 2022 00:47:11 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id r12so17813591lfp.1 for ; Mon, 21 Nov 2022 00:47:11 -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=kndWz83Xral0dUFOAKp2Vmc6vOTcnvs9YYJQaOTyYnk=; b=GkKeSc7TMYPu00JKJp1CrxzXew8hnss4sAxmBEZL77QYVr4TQJH3CCXlOHWB5jYFOF HzIkSXnikeqEkdZyu1D7qCsup3SRNe6xlUC1+2kRq/nX5NtysB8HHy9EhYAdS12XIGou Nnwg/xioCRfzd+sQtO0+Rmioz0ATbT1CqVn5bweUjOjxtQx/7N17UAAKTwTuK9gOfd9F qUrlYnFdVJ91dUvpwZViz+sI6kdOXXqyvbmW9KvVZeaXAoDiTBdJVI4ntStblyflwU8P +KAHYcDkP/CuCew59BihYdSHxSeWwPP9VH+LEQnl2aLMmHWfuZcba8oJp5tNYaoJn1pz BV6g== 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=kndWz83Xral0dUFOAKp2Vmc6vOTcnvs9YYJQaOTyYnk=; b=r4R3+uGd6xneITkU9u0NvihFPTepfxzF4vdu2yqKhCX7uDjwRpKCqKAoYOn7qzRS9h 0U/CRHam9BVkNIxY2rB1Of5FnCc4T2z1pE9g0+A3ucVhUDsGx6rER8/rDxs5L9fCNmtk 9atZx6h15x5tS5fjA87utCZscs+Zfcx5O/X+UUTVFePig3C3STX1V7PbEDNu3BIR2r4x YiEvefKZRFEtrb+hI2Y9QgkIIC78O6rbv5T2nZFafn8pqG26hy7LUEliJv7WK2FSy17O baL3txb2/jDKFClU/U0T3WzmGTWDvKyaZ1GAmxM7VZrKLe8StTqU3IyoP3nn5Tpa1VD+ 3nQQ== X-Gm-Message-State: ANoB5pko68Ma7BFf42ljrdLigJgT9d9ljVr7b3v1jn/OYGxJJ8ObTjdR iifiiMi/8wRuVtWQmPdQhx6eXA== X-Received: by 2002:ac2:508d:0:b0:4a4:72b0:9a2b with SMTP id f13-20020ac2508d000000b004a472b09a2bmr5324334lfm.469.1669020429698; Mon, 21 Nov 2022 00:47:09 -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 t17-20020a056512209100b0049ebc44994fsm1944613lfr.128.2022.11.21.00.47.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 00:47:09 -0800 (PST) Message-ID: <1d62f95f-0edc-afd4-abb4-37fadc0b6a47@linaro.org> Date: Mon, 21 Nov 2022 09:47:08 +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 09/14] dt-bindings: clock: Add StarFive JH7110 system clock and reset generator Content-Language: en-US To: Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Cc: Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Michael Turquette , Philipp Zabel , Emil Renner Berthing , linux-kernel@vger.kernel.org References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-10-hal.feng@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20221118010627.70576-10-hal.feng@starfivetech.com> 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=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 18/11/2022 02:06, Hal Feng wrote: > From: Emil Renner Berthing > > Add bindings for the system clock and reset generator (SYSCRG) on the > JH7110 RISC-V SoC by StarFive Ltd. > > Signed-off-by: Emil Renner Berthing > Signed-off-by: Hal Feng Binding headers are coming with the file bringing bindings for the device, so you need to squash patches. > --- > .../clock/starfive,jh7110-syscrg.yaml | 80 +++++++++++++++++++ > MAINTAINERS | 2 +- > 2 files changed, 81 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml > > diff --git a/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml b/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml > new file mode 100644 > index 000000000000..a8cafbc0afe2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/starfive,jh7110-syscrg.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive JH7110 System Clock and Reset Generator > + > +maintainers: > + - Emil Renner Berthing > + > +properties: > + compatible: > + const: starfive,jh7110-syscrg > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: Main Oscillator (24 MHz) > + - description: RMII reference clock > + - description: RGMII RX clock > + - description: I2S TX bit clock > + - description: I2S TX left/right clock > + - description: I2S RX bit clock > + - description: I2S RX left/right clock > + - description: TDM > + - description: mclk > + > + clock-names: > + items: > + - const: osc > + - const: gmac1_rmii_refin > + - const: gmac1_rgmii_rxin > + - const: i2stx_bclk_ext > + - const: i2stx_lrck_ext > + - const: i2srx_bclk_ext > + - const: i2srx_lrck_ext > + - const: tdm_ext > + - const: mclk_ext > + > + '#clock-cells': > + const: 1 > + description: > + See for valid indices. Fix filename. > + > + '#reset-cells': > + const: 1 > + description: > + See for valid indices. Fix filename. > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - '#clock-cells' > + - '#reset-cells' > + Best regards, Krzysztof