From: Andre Przywara <andre.przywara@arm.com>
To: Pablo Mazzini <pmazzini@gmail.com>,
Linus Walleij <linusw@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sunxi@lists.linux.dev
Subject: Re: [PATCH RESEND v3 2/3] dt-bindings: pinctrl: sun55i-a523: one interrupt per implemented bank
Date: Fri, 27 Nov 2026 15:01:49 +0000 [thread overview]
Message-ID: <49872d49-ddcb-4cd9-b4a5-ae6ab95e115f@arm.com> (raw)
In-Reply-To: <20261124215048.42074-3-pmazzini@gmail.com>
Hi,
On 11/24/26 22:50, Pablo Mazzini wrote:
> The A523 and A733 have no PA pins, the A523's PA IRQ bank is not
> implemented, and the driver no longer counts it. Go back to one
^^^^^^^^^^
Just for the records: some Linux driver implementation is not relevant
for a binding. This (or rather the changed, but undocumented semantic on
how to count the IRQs) is a breaking change, unfortunately (and it's me
to blame), but I think it's the more sustainable solution than the
existing one. And since this is a revert, it's somewhat confined, and we
can backport the Linux changes to mitigate the problems. The A523 IRQs
were broken from the beginning, and my original change just somewhat
papered over the problem.
> interrupt, and one debounce period, per implemented bank: 10 for both.
>
> This reverts commit 11f25ac56372 ("dt-bindings: pinctrl: sun55i-a523:
> increase IRQ banks number").
>
I wonder if we should have a Fixes: tag here? Pointing to the revert?
It's somewhat debatable if that makes sense for a binding patch, though.
The actual change is fine:
> Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cheers,
Andre
> ---
> .../bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
> index d7d0ba32ced4..c04b04acf6e4 100644
> --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
> @@ -36,7 +36,7 @@ properties:
>
> interrupts:
> minItems: 2
> - maxItems: 11
> + maxItems: 10
> description:
> One interrupt per external interrupt bank supported on the
> controller, sorted by bank number ascending order.
> @@ -63,7 +63,7 @@ properties:
> bank found in the controller
> $ref: /schemas/types.yaml#/definitions/uint32-array
> minItems: 2
> - maxItems: 11
> + maxItems: 10
>
> patternProperties:
> # It's pretty scary, but the basic idea is that:
> @@ -133,8 +133,8 @@ allOf:
> then:
> properties:
> interrupts:
> - minItems: 11
> - maxItems: 11
> + minItems: 10
> + maxItems: 10
>
> - if:
> properties:
next prev parent reply other threads:[~2026-11-27 16:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 21:50 [PATCH RESEND v3 0/3] pinctrl: sunxi: number the IRQ banks from the first one that has IRQs Pablo Mazzini
2026-11-24 21:50 ` [PATCH RESEND v3 1/3] pinctrl: sunxi: dt: " Pablo Mazzini
2026-11-26 15:27 ` Norman Herms
2026-11-27 11:25 ` Alastair D'Silva
2026-11-24 21:50 ` [PATCH RESEND v3 2/3] dt-bindings: pinctrl: sun55i-a523: one interrupt per implemented bank Pablo Mazzini
2026-11-27 11:25 ` Alastair D'Silva
2026-11-27 15:01 ` Andre Przywara [this message]
2026-11-24 21:50 ` [PATCH RESEND v3 3/3] arm64: dts: allwinner: a523: drop the PA GPIO interrupt Pablo Mazzini
2026-11-27 11:25 ` Alastair D'Silva
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=49872d49-ddcb-4cd9-b4a5-ae6ab95e115f@arm.com \
--to=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=pmazzini@gmail.com \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@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