From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8AD09CA0EDC for ; Sun, 17 Aug 2025 06:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fSs47FH+QxF2WLfQ+0+4I6pOl5u0HSgvRRpQeSomzXQ=; b=crhqSVPA1Z+PTg xWhDWOHpqn3e9ulxNEVqUnXVvoucGc/eYDg/6FJOrM6BmcOJiH91Jr7d4kv0weQ7hmz6XJp7K9tqf 3sKjgQaGxdx20z16mEEiaqGfpbqISUWLikKpGpEs99I+aDMhjJ8T8PqHVYgLUVMVsrOu7AtYppCq4 mg0UpdAxcClEl7KKW+ZeEkxLqCfWcP8WKddeVNUEOxb7DyOPHCskEmDqWh6LhrlmCQ72KPqsRFXTt iUjOvqnRVLmRENKpDY6z/HTGOMifDFqLRhOOEesk1QW+bDiC38i+YjM/u/0x3ECwoj8jzqFMptJX8 wvJZhvqL1kY8EmfDReaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1unWSS-00000005OKg-2IoS; Sun, 17 Aug 2025 06:01:32 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1unWSR-00000005OKa-30oR for linux-riscv@lists.infradead.org; Sun, 17 Aug 2025 06:01:31 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id E80D1601DA; Sun, 17 Aug 2025 06:01:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB26BC4CEEB; Sun, 17 Aug 2025 06:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755410490; bh=mHZUPtn5UficimsWMroxIB90kO/gt16LWXvu1TDftiI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Qq+Qa1Q1NID6yT4ELg0thEZhShaOpzvUCqLG2VgKDcJPdQTrwBHc6P6O+jm/u/PgU hWw+v+rZiWQLviUAgQwprPMRVcH3qBMPThs/Fb0XjwYaS9zPgj5lyH7ILdQBCDKM1i KXQY+ZkXyHGkTDi0GYE21MYhDTf07kdCgcef4q2l1DE8iwuTMIVj1y3CeYsEwq643E C0fQQzhP36sKEYjgPiuB1/DZJS6xGDXNwB/VlCZhuYhARWn8KLACfIP0gTmSDP4R6d I4y6dYS5aIDM/0IBBtunQ9rBVZezmuX7qTC6k82hVpAvbQPmyvN7GCHZ5hT7NiY/uF FSFJiZJPB7ZWg== Message-ID: <58e3e3ef-1871-45b1-ba2b-be6981d7d3d1@kernel.org> Date: Sun, 17 Aug 2025 08:01:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/3] clock: eswin: Documentation for eic7700 SoC To: dongxuyang@eswincomputing.com, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, linux-riscv@lists.infradead.org Cc: ningyu@eswincomputing.com, linmin@eswincomputing.com, huangyifeng@eswincomputing.com, pinkesh.vaghela@einfochips.com References: <20250815093539.975-1-dongxuyang@eswincomputing.com> <20250815093653.1033-1-dongxuyang@eswincomputing.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJoF1BKBQkWlnSaAAoJEBuTQ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X2LWuD928tAR6XMM2G5ovxLe09vuOzzfTWQDsm++9UKF a/A= In-Reply-To: <20250815093653.1033-1-dongxuyang@eswincomputing.com> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 15/08/2025 11:36, dongxuyang@eswincomputing.com wrote: > From: Xuyang Dong > > Add device tree binding documentation for the ESWIN eic7700 > clock controller module. > > Signed-off-by: Yifeng Huang > Signed-off-by: Xuyang Dong > --- > .../bindings/clock/eswin,eic7700-clock.yaml | 381 ++++++++++++++++++ > 1 file changed, 381 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml > > diff --git a/Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml b/Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml > new file mode 100644 > index 000000000000..45e70ebc08e6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml > @@ -0,0 +1,381 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/eswin,eic7700-clock.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Eswin EIC7700 SoC clock controller > + > +maintainers: > + - Yifeng Huang > + - Xuyang Dong > + > +description: > + The clock controller generates and supplies clock to all the modules > + for eic7700 SoC. > + > +properties: > + compatible: > + const: eswin,eic7700-clock > + > + reg: > + maxItems: 1 > + > + '#clock-cells': > + const: 0 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 > + > +required: Incorrectly placed. required is after all properties. > + - compatible > + - reg > + - '#clock-cells' > + - '#address-cells' > + - '#size-cells' > + > +patternProperties: > + "^fixed-rate.*": > + type: object > + $ref: /schemas/clock/fixed-clock.yaml# No, you do not get node per clock. > + > + ".*pll@[a-f0-9]+$": > + type: object > + > + properties: > + compatible: > + const: eswin,pll-clock Nothing explains in the changelog why this appeared. Drop all these nodes and fake or redundant compatibles. > + > + reg: > + items: > + - description: PLL's config 0 register > + - description: PLL's config 1 register > + - description: PLL's config 2 register > + - description: PLL's status register > + > + '#clock-cells': > + const: 0 > + > + clock-output-names: > + maxItems: 1 > + > + enable-shift: > + description: Bit shift of the enable register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + enable-width: > + description: Width of the enable register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + refdiv-shift: > + description: Bit shift of the reference divider register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + refdiv-width: > + description: Width of the reference divider register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + fbdiv-shift: > + description: Bit shift of the feedback divider register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + fbdiv-width: > + description: Width of the feedback divider register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + frac-shift: > + description: Bit shift of the fractional divider register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + frac-width: > + description: Width of the fractional divider register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + postdiv1-shift: > + description: Bit shift of the post divider 1 register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + postdiv1-width: > + description: Width of the post divider 1 register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + postdiv2-shift: > + description: Bit shift of the post divider 2 register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + postdiv2-width: > + description: Width of the post divider 2 register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + maximum: 31 > + > + lock-shift: > + description: Bit shift of the lock register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + lock-width: > + description: Width of the lock register. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 31 > + > + required: > + - compatible > + - reg > + - '#clock-cells' > + - clock-output-names > + - enable-shift > + - enable-width > + - refdiv-shift > + - refdiv-width > + - fbdiv-shift > + - fbdiv-width > + - frac-shift > + - frac-width > + - postdiv1-shift > + - postdiv1-width > + - postdiv2-shift > + - postdiv2-width > + - lock-shift > + - lock-width > + > + additionalProperties: false > + > + ".*mux@[a-f0-9]+$": > + type: object NAK, but anyway explain in the changelog WHY you did this... Best regards, Krzysztof _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv