From: Krzysztof Kozlowski <krzk@kernel.org>
To: Shi Hao <i.shihao.999@gmail.com>
Cc: linusw@kernel.org, brgl@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: gpio: convert Cavium ThunderX GPIO binding to YAML
Date: Tue, 10 Mar 2026 10:40:18 +0100 [thread overview]
Message-ID: <20260310-snobbish-white-caterpillar-e8ef29@quoll> (raw)
In-Reply-To: <20260309082252.34384-1-i.shihao.999@gmail.com>
On Mon, Mar 09, 2026 at 01:52:52PM +0530, Shi Hao wrote:
> Convert Cavium ThunderX GPIO text based device tree
> node to YAML schema format, ensuring validation and
> consistency across Device Tree.
Please wrap commit message according to Linux coding style / submission
process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
Is this part of some LFX/GSoC program and thus should be first reviewed
by your mentors?
>
> Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
> ---
> .../gpio/cavium-thunder-8890-gpio.yaml | 52 +++++++++++++++++++
> .../bindings/gpio/gpio-thunderx.txt | 27 ----------
> 2 files changed, 52 insertions(+), 27 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/gpio/cavium-thunder-8890-gpio.yaml
Filename based on compatible,
> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-thunderx.txt
>
> diff --git a/Documentation/devicetree/bindings/gpio/cavium-thunder-8890-gpio.yaml b/Documentation/devicetree/bindings/gpio/cavium-thunder-8890-gpio.yaml
> new file mode 100644
> index 000000000000..16d7c347f913
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/cavium-thunder-8890-gpio.yaml
> @@ -0,0 +1,52 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/gpio/cavium-thunder-8890-gpio.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Cavium ThunderX GPIO controller
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + Device Tree binding for the GPIO controller found in
s/Device Tree binding for// because we do not need description of DT
binding that it is a DT binding.
> + Cavium ThunderX and OCTEON-TX SoCs.
> +
> +maintainers:
> + - Linus Walleij <linusw@kernel.org>
> + - Rob Herring <robh@kernel.org>
You cannot have here subsystem maintainers. This needs platform or
driver maintainers.
> +
> +properties:
> + compatible:
> + enum:
> + - cavium,thunder-8890-gpio
> +
> + reg:
> + maxItems: 1
> +
> + gpio-controller: true
> +
> + "#gpio-cells":
> + const: 2
> +
> + interrupt-controller: true
> +
> + "#interrupt-cells":
> + const: 2
> +
> +required:
> + - compatible
> + - reg
> + - gpio-controller
> + - '#gpio-cells'
Use consistent quotes, either ' or "
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + gpio_6_0: gpio@6,0 {
> + compatible = "cavium,thunder-8890-gpio";
> + reg = <0x3000 0x100>; /* DEVFN = 0x30 (6:0) */
I have doubts this was checked with W=1.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-03-10 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 8:22 [PATCH] dt-bindings: gpio: convert Cavium ThunderX GPIO binding to YAML Shi Hao
2026-03-10 9:40 ` Krzysztof Kozlowski [this message]
2026-03-10 9:41 ` Krzysztof Kozlowski
2026-03-25 11:21 ` 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=20260310-snobbish-white-caterpillar-e8ef29@quoll \
--to=krzk@kernel.org \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=i.shihao.999@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox