diff mbox series

dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks

Message ID 20201005190939.21016-1-peron.clem@gmail.com
State Accepted
Commit 4e787e0405342e9c21558ead99d39d1cdef1b388
Headers show
Series dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks | expand

Commit Message

Clément Péron Oct. 5, 2020, 7:09 p.m. UTC
Recently introduced Allwinner A100 pinctrl block has 7 interrupts.

This trig a warning when running dtb_checks:
sun50i-a100-allwinner-perf1.dt.yaml: pinctrl@300b000: interrupts: [...] is too long
	From schema: .../allwinner,sun4i-a10-pinctrl.yaml

Fix this by allowing up to 7 interrupts.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring (Arm) Oct. 6, 2020, 10:25 p.m. UTC | #1
On Mon, 05 Oct 2020 21:09:39 +0200, Clément Péron wrote:
> Recently introduced Allwinner A100 pinctrl block has 7 interrupts.

> 

> This trig a warning when running dtb_checks:

> sun50i-a100-allwinner-perf1.dt.yaml: pinctrl@300b000: interrupts: [...] is too long

> 	From schema: .../allwinner,sun4i-a10-pinctrl.yaml

> 

> Fix this by allowing up to 7 interrupts.

> 

> Signed-off-by: Clément Péron <peron.clem@gmail.com>

> ---

>  .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml           | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
Linus Walleij Oct. 7, 2020, 10 a.m. UTC | #2
On Mon, Oct 5, 2020 at 9:09 PM Clément Péron <peron.clem@gmail.com> wrote:

> Recently introduced Allwinner A100 pinctrl block has 7 interrupts.

>

> This trig a warning when running dtb_checks:

> sun50i-a100-allwinner-perf1.dt.yaml: pinctrl@300b000: interrupts: [...] is too long

>         From schema: .../allwinner,sun4i-a10-pinctrl.yaml

>

> Fix this by allowing up to 7 interrupts.

>

> Signed-off-by: Clément Péron <peron.clem@gmail.com>


Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
index 34a17d5c6135..5240487dfe50 100644
--- a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
@@ -61,7 +61,7 @@  properties:
 
   interrupts:
     minItems: 1
-    maxItems: 5
+    maxItems: 7
     description:
       One interrupt per external interrupt bank supported on the
       controller, sorted by bank number ascending order.