From: Krzysztof Kozlowski <krzk@kernel.org>
To: Khristine Andreea Barbulescu <khristineandreea.barbulescu@oss.nxp.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chester Lin <chester62515@gmail.com>,
Matthias Brugger <mbrugger@suse.com>,
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>,
Larisa Grigore <larisa.grigore@nxp.com>,
Lee Jones <lee@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Dong Aisheng <aisheng.dong@nxp.com>,
Jacky Bai <ping.bai@nxp.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Srinivas Kandagatla <srini@kernel.org>,
Alberto Ruiz <aruizrui@redhat.com>,
Christophe Lizzi <clizzi@redhat.com>,
devicetree@vger.kernel.org, Enric Balletbo <eballetb@redhat.com>,
Eric Chanudet <echanude@redhat.com>,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
NXP S32 Linux Team <s32@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Vincent Guittot <vincent.guittot@linaro.org>
Subject: Re: [PATCH v9 5/7] dt-bindings: pinctrl: s32g2-siul2: describe GPIO and EIRQ resources
Date: Tue, 5 May 2026 08:36:47 +0200 [thread overview]
Message-ID: <20260505-voracious-gregarious-stallion-ff6c34@quoll> (raw)
In-Reply-To: <20260504131148.3622697-6-khristineandreea.barbulescu@oss.nxp.com>
On Mon, May 04, 2026 at 03:11:46PM +0200, Khristine Andreea Barbulescu wrote:
> Extend the S32G2 SIUL2 pinctrl binding to describe the additional
> resources used by the updated SIUL2 pinctrl driver.
Please describe hardware, not drivers. Statement is not even true -
drivers do not use these resources, unless you organized your patchset
wrong (see submitting bindings documents, both).
Nothing above explains why you need new compatible.
>
> Besides the MSCR and IMCR register ranges used for pinmux and
> pin configuration, the SIUL2 block also contains PGPDO and PGPDI
> registers for GPIO output and input operations, as well as EIRQ
> registers used for external interrupt configuration.
>
> Add GPIO controller properties:
> - gpio-controller
> - #gpio-cells
> - gpio-ranges
>
> Add interrupt controller properties:
> - interrupt-controller
> - #interrupt-cells
> - interrupts
Do not explain what you did, but say why.
>
> Also update the binding example to show the complete SIUL2 register
> layout, including the GPIO data and EIRQ register windows.
>
> Signed-off-by: Khristine Andreea Barbulescu <khristineandreea.barbulescu@oss.nxp.com>
> ---
> .../pinctrl/nxp,s32g2-siul2-pinctrl.yaml | 107 ++++++++++++++++--
> 1 file changed, 98 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml
> index a24286e4def6..0bd341f1e84d 100644
> --- a/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml
> @@ -1,5 +1,5 @@
> # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> -# Copyright 2022 NXP
> +# Copyright 2022, 2026 NXP
> %YAML 1.2
> ---
> $id: http://devicetree.org/schemas/pinctrl/nxp,s32g2-siul2-pinctrl.yaml#
> @@ -17,26 +17,39 @@ description: |
> SIUL2_0 @ 0x4009c000
> SIUL2_1 @ 0x44010000
>
> - Every SIUL2 region has multiple register types, and here only MSCR and
> - IMCR registers need to be revealed for kernel to configure pinmux.
> + Every SIUL2 region has multiple register types. MSCR and IMCR registers
> + need to be revealed for kernel to configure pinmux. PGPDO and PGPDI
> + registers are used for GPIO output/input operations. EIRQ registers
> + are used for external interrupt configuration.
>
> Please note that some register indexes are reserved in S32G2, such as
> MSCR102-MSCR111, MSCR123-MSCR143, IMCR84-IMCR118 and IMCR398-IMCR429.
>
> properties:
> compatible:
> - enum:
> - - nxp,s32g2-siul2-pinctrl
> + oneOf:
> + - const: nxp,s32g2-siul2-pinctrl
> + - items:
> + - const: nxp,s32g2-siul2-pinctrl-gpio
> + - const: nxp,s32g2-siul2-pinctrl
I don't get how this binding develops. You were asked to grow existing
binding instead of deprecating it and now you did not grow it: you added
completely new compatible.
Please go back to previous version comments.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-05-05 6:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-04 13:11 [PATCH v9 0/7] gpio: siul2-s32g2: add initial GPIO driver Khristine Andreea Barbulescu
2026-05-04 13:11 ` [PATCH v9 1/7] pinctrl: s32cc: use dev_err_probe() and improve error messages Khristine Andreea Barbulescu
2026-05-04 14:39 ` Bartosz Golaszewski
2026-05-04 13:11 ` [PATCH v9 2/7] pinctrl: s32cc: add/fix some comments Khristine Andreea Barbulescu
2026-05-04 14:41 ` Bartosz Golaszewski
2026-05-04 13:11 ` [PATCH v9 3/7] pinctrl: s32cc: remove inline specifiers Khristine Andreea Barbulescu
2026-05-04 14:41 ` Bartosz Golaszewski
2026-05-04 13:11 ` [PATCH v9 4/7] pinctrl: s32cc: change to "devm_pinctrl_register_and_init" Khristine Andreea Barbulescu
2026-05-04 13:11 ` [PATCH v9 5/7] dt-bindings: pinctrl: s32g2-siul2: describe GPIO and EIRQ resources Khristine Andreea Barbulescu
2026-05-05 6:36 ` Krzysztof Kozlowski [this message]
2026-05-04 13:11 ` [PATCH v9 6/7] pinctrl: s32cc: implement GPIO functionality Khristine Andreea Barbulescu
2026-05-04 14:49 ` Bartosz Golaszewski
2026-05-05 12:46 ` Linus Walleij
2026-05-04 13:11 ` [PATCH v9 7/7] arm64: dts: s32g: describe GPIO and EIRQ resources in SIUL2 pinctrl node Khristine Andreea Barbulescu
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=20260505-voracious-gregarious-stallion-ff6c34@quoll \
--to=krzk@kernel.org \
--cc=aisheng.dong@nxp.com \
--cc=aruizrui@redhat.com \
--cc=brgl@bgdev.pl \
--cc=chester62515@gmail.com \
--cc=clizzi@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eballetb@redhat.com \
--cc=echanude@redhat.com \
--cc=festevam@gmail.com \
--cc=ghennadi.procopciuc@nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=khristineandreea.barbulescu@oss.nxp.com \
--cc=krzk+dt@kernel.org \
--cc=larisa.grigore@nxp.com \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbrugger@suse.com \
--cc=ping.bai@nxp.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=s32@nxp.com \
--cc=shawnguo@kernel.org \
--cc=srini@kernel.org \
--cc=vincent.guittot@linaro.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