Re: [PATCH RESEND v3 2/3] dt-bindings: pinctrl: sun55i-a523: one interrupt per implemented bank
From: Andre Przywara
Date: Fri Nov 27 2026 - 10:01:57 EST
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@xxxxxxxxx>
Acked-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx>
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: