From: Krzysztof Kozlowski <krzk@kernel.org>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH v2 1/9] dt-bindings: mfd: aspeed,ast2x00-scu: Add ASPEED AST2700-SCUX schema
Date: Fri, 2 Aug 2024 11:13:52 +0200 [thread overview]
Message-ID: <1b420e2e-6983-49fb-946c-a4bbf7fa54eb@kernel.org> (raw)
In-Reply-To: <20240802090544.2741206-3-kevin_chen@aspeedtech.com>
On 02/08/2024 11:05, Kevin Chen wrote:
> Add compatible for two SCU of SCU0 and SCU1 in AST2700.
>
> Signed-off-by: Kevin Chen <kevin_chen@aspeedtech.com>
> ---
A nit, subject: drop second/last, redundant "schema". The "dt-bindings"
prefix is already stating that these are bindings in the schema.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
> .../bindings/mfd/aspeed,ast2x00-scu.yaml | 70 +++++++++++++------
> 1 file changed, 50 insertions(+), 20 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
> index 86ee69c0f45b..3426b1c84132 100644
> --- a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
> +++ b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
> @@ -13,33 +13,62 @@ description:
> maintainers:
> - Joel Stanley <joel@jms.id.au>
> - Andrew Jeffery <andrew@aj.id.au>
> + - Kevin Chen <kevin_chen@aspeedtech.com>
>
> -properties:
> - compatible:
> - items:
> - - enum:
> - - aspeed,ast2400-scu
> - - aspeed,ast2500-scu
> - - aspeed,ast2600-scu
> - - const: syscon
> - - const: simple-mfd
> +scu at ast2xx00-scu:
> + properties:
> + compatible:
> + items:
> + - enum:
> + - aspeed,ast2400-scu
> + - aspeed,ast2500-scu
> + - aspeed,ast2600-scu
> + - const: syscon
> + - const: simple-mfd
No, no, no, this code is neither correct nor makes any sense.
>
> - reg:
> - maxItems: 1
> + reg:
> + maxItems: 1
>
> - ranges: true
> + ranges: true
What?
Best regards,
Krzysztof
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kevin Chen <kevin_chen@aspeedtech.com>,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
joel@jms.id.au, andrew@codeconstruct.com.au, lee@kernel.org,
catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de,
olof@lixom.net, soc@kernel.org, mturquette@baylibre.com,
sboyd@kernel.org, p.zabel@pengutronix.de,
quic_bjorande@quicinc.com, geert+renesas@glider.be,
dmitry.baryshkov@linaro.org, shawnguo@kernel.org,
neil.armstrong@linaro.org, m.szyprowski@samsung.com,
nfraprado@collabora.com, u-kumar1@ti.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 1/9] dt-bindings: mfd: aspeed,ast2x00-scu: Add ASPEED AST2700-SCUX schema
Date: Fri, 2 Aug 2024 11:13:52 +0200 [thread overview]
Message-ID: <1b420e2e-6983-49fb-946c-a4bbf7fa54eb@kernel.org> (raw)
In-Reply-To: <20240802090544.2741206-3-kevin_chen@aspeedtech.com>
On 02/08/2024 11:05, Kevin Chen wrote:
> Add compatible for two SCU of SCU0 and SCU1 in AST2700.
>
> Signed-off-by: Kevin Chen <kevin_chen@aspeedtech.com>
> ---
A nit, subject: drop second/last, redundant "schema". The "dt-bindings"
prefix is already stating that these are bindings in the schema.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
> .../bindings/mfd/aspeed,ast2x00-scu.yaml | 70 +++++++++++++------
> 1 file changed, 50 insertions(+), 20 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
> index 86ee69c0f45b..3426b1c84132 100644
> --- a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
> +++ b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
> @@ -13,33 +13,62 @@ description:
> maintainers:
> - Joel Stanley <joel@jms.id.au>
> - Andrew Jeffery <andrew@aj.id.au>
> + - Kevin Chen <kevin_chen@aspeedtech.com>
>
> -properties:
> - compatible:
> - items:
> - - enum:
> - - aspeed,ast2400-scu
> - - aspeed,ast2500-scu
> - - aspeed,ast2600-scu
> - - const: syscon
> - - const: simple-mfd
> +scu@ast2xx00-scu:
> + properties:
> + compatible:
> + items:
> + - enum:
> + - aspeed,ast2400-scu
> + - aspeed,ast2500-scu
> + - aspeed,ast2600-scu
> + - const: syscon
> + - const: simple-mfd
No, no, no, this code is neither correct nor makes any sense.
>
> - reg:
> - maxItems: 1
> + reg:
> + maxItems: 1
>
> - ranges: true
> + ranges: true
What?
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-08-02 9:13 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 9:05 [PATCH v1 00/10] Introduce ASPEED AST27XX BMC SoC Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:05 ` [PATCH v2 0/9] " Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:18 ` Krzysztof Kozlowski
2024-08-02 9:18 ` Krzysztof Kozlowski
2024-08-02 9:05 ` [PATCH v2 1/9] dt-bindings: mfd: aspeed,ast2x00-scu: Add ASPEED AST2700-SCUX schema Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:13 ` Krzysztof Kozlowski [this message]
2024-08-02 9:13 ` Krzysztof Kozlowski
2024-08-02 10:29 ` Rob Herring
2024-08-02 10:29 ` Rob Herring (Arm)
2024-08-02 9:05 ` [PATCH v2 2/9] dt-bindings: reset: ast2700: Add ASPEED AST27xx Reset schema Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:15 ` Krzysztof Kozlowski
2024-08-02 9:15 ` Krzysztof Kozlowski
2024-08-02 9:05 ` [PATCH v2 3/9] dt-bindings: clk: ast2700: Add ASPEED AST27XX Clock schema Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:15 ` Krzysztof Kozlowski
2024-08-02 9:15 ` Krzysztof Kozlowski
2024-08-02 9:05 ` [PATCH v2 4/9] clk: ast2700: add clock controller Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:16 ` Krzysztof Kozlowski
2024-08-02 9:16 ` Krzysztof Kozlowski
2024-08-02 19:33 ` Dmitry Baryshkov
2024-08-02 19:33 ` Dmitry Baryshkov
2024-10-08 3:10 ` Kevin Chen
2024-10-08 3:10 ` Kevin Chen
2024-10-08 3:41 ` Ryan Chen
2024-10-08 3:41 ` Ryan Chen
2024-08-02 9:05 ` [PATCH v2 5/9] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:16 ` Krzysztof Kozlowski
2024-08-02 9:16 ` Krzysztof Kozlowski
2024-08-02 9:05 ` [PATCH v2 6/9] arm64: aspeed: Add support for ASPEED AST27XX BMC SoC Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:16 ` Krzysztof Kozlowski
2024-08-02 9:16 ` Krzysztof Kozlowski
2024-08-02 9:05 ` [PATCH v2 7/9] arm64: defconfig: Add ASPEED AST2700 family support Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 19:20 ` Dmitry Baryshkov
2024-08-02 19:20 ` Dmitry Baryshkov
2024-08-02 19:25 ` Arnd Bergmann
2024-08-02 19:25 ` Arnd Bergmann
2024-10-08 3:13 ` Kevin Chen
2024-10-08 3:13 ` Kevin Chen
2024-10-08 3:11 ` Kevin Chen
2024-10-08 3:11 ` Kevin Chen
2024-08-02 9:05 ` [PATCH v2 8/9] arm64: dts: aspeed: Add initial AST27XX device tree Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:12 ` Krzysztof Kozlowski
2024-08-02 9:12 ` Krzysztof Kozlowski
2024-08-02 9:05 ` [PATCH v2 9/9] arm64: dts: aspeed: Add initial AST2700 EVB " Kevin Chen
2024-08-02 9:06 ` Kevin Chen
2024-08-02 9:17 ` Krzysztof Kozlowski
2024-08-02 9:17 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b420e2e-6983-49fb-946c-a4bbf7fa54eb@kernel.org \
--to=krzk@kernel.org \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.