devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks
@ 2020-10-05 19:09 Clément Péron
  2020-10-06 22:25 ` Rob Herring
  2020-10-07 10:00 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Clément Péron @ 2020-10-05 19:09 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Yangtao Li, Clément Péron, Linus Walleij, Rob Herring,
	Chen-Yu Tsai, linux-gpio, devicetree, linux-arm-kernel,
	linux-kernel

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(-)

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.
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks
  2020-10-05 19:09 [PATCH] dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks Clément Péron
@ 2020-10-06 22:25 ` Rob Herring
  2020-10-07 10:00 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-10-06 22:25 UTC (permalink / raw)
  To: Clément Péron
  Cc: linux-arm-kernel, devicetree, linux-kernel, Rob Herring,
	Linus Walleij, Chen-Yu Tsai, Yangtao Li, linux-gpio,
	Maxime Ripard

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks
  2020-10-05 19:09 [PATCH] dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks Clément Péron
  2020-10-06 22:25 ` Rob Herring
@ 2020-10-07 10:00 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2020-10-07 10:00 UTC (permalink / raw)
  To: Clément Péron
  Cc: Maxime Ripard, Yangtao Li, Rob Herring, Chen-Yu Tsai,
	open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux ARM, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-07 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 19:09 [PATCH] dt-bindings: pinctrl: sunxi: Allow pinctrl with more interrupt banks Clément Péron
2020-10-06 22:25 ` Rob Herring
2020-10-07 10:00 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).