Commit fdca7cb9 authored by Andre Przywara's avatar Andre Przywara Committed by Linus Walleij

dt-bindings: pinctrl: Add Allwinner H616 compatible strings

A new SoC, a new compatible string.
Also we were too miserly with just allowing seven interrupt banks.
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20210118020848.11721-4-andre.przywara@arm.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent dd1ccfd6
...@@ -53,6 +53,8 @@ properties: ...@@ -53,6 +53,8 @@ properties:
- allwinner,sun50i-h5-pinctrl - allwinner,sun50i-h5-pinctrl
- allwinner,sun50i-h6-pinctrl - allwinner,sun50i-h6-pinctrl
- allwinner,sun50i-h6-r-pinctrl - allwinner,sun50i-h6-r-pinctrl
- allwinner,sun50i-h616-pinctrl
- allwinner,sun50i-h616-r-pinctrl
- allwinner,suniv-f1c100s-pinctrl - allwinner,suniv-f1c100s-pinctrl
- nextthing,gr8-pinctrl - nextthing,gr8-pinctrl
...@@ -61,7 +63,7 @@ properties: ...@@ -61,7 +63,7 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 7 maxItems: 8
description: description:
One interrupt per external interrupt bank supported on the One interrupt per external interrupt bank supported on the
controller, sorted by bank number ascending order. controller, sorted by bank number ascending order.
...@@ -91,7 +93,7 @@ properties: ...@@ -91,7 +93,7 @@ properties:
bank found in the controller bank found in the controller
$ref: /schemas/types.yaml#/definitions/uint32-array $ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1 minItems: 1
maxItems: 5 maxItems: 8
patternProperties: patternProperties:
# It's pretty scary, but the basic idea is that: # It's pretty scary, but the basic idea is that:
...@@ -145,6 +147,17 @@ allOf: ...@@ -145,6 +147,17 @@ allOf:
# boards are defining it at the moment so it would generate a lot of # boards are defining it at the moment so it would generate a lot of
# warnings. # warnings.
- if:
properties:
compatible:
enum:
- allwinner,sun50i-h616-pinctrl
then:
properties:
interrupts:
minItems: 8
- if: - if:
properties: properties:
compatible: compatible:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment