diff options
author | Xianwei Zhao <xianwei.zhao@amlogic.com> | 2025-03-11 06:08:27 +0300 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2025-03-17 10:38:23 +0300 |
commit | 40f4152442f72748ce883ca53ca80961e433701c (patch) | |
tree | 1ed68ef6986eeb565120622a3ffa71e308527bdc | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) | |
download | linux-40f4152442f72748ce883ca53ca80961e433701c.tar.xz |
dt-bindings: interrupt-controller: Add support for Amlogic A4 and A5 SoCs
Update dt-binding document for GPIO interrupt controller
of Amlogic A4 and A5 SoCs
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/r/20250311-irqchip-gpio-a4-a5-v5-1-ca4cc276c18c@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml index a93744763787..3d60d9e9e208 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml @@ -35,6 +35,9 @@ properties: - amlogic,meson-sm1-gpio-intc - amlogic,meson-a1-gpio-intc - amlogic,meson-s4-gpio-intc + - amlogic,a4-gpio-intc + - amlogic,a4-gpio-ao-intc + - amlogic,a5-gpio-intc - amlogic,c3-gpio-intc - amlogic,t7-gpio-intc - const: amlogic,meson-gpio-intc @@ -49,7 +52,7 @@ properties: amlogic,channel-interrupts: description: Array with the upstream hwirq numbers - minItems: 8 + minItems: 2 maxItems: 12 $ref: /schemas/types.yaml#/definitions/uint32-array @@ -60,6 +63,20 @@ required: - "#interrupt-cells" - amlogic,channel-interrupts +if: + properties: + compatible: + contains: + const: amlogic,a4-gpio-ao-intc +then: + properties: + amlogic,channel-interrupts: + maxItems: 2 +else: + properties: + amlogic,channel-interrupts: + minItems: 8 + additionalProperties: false examples: |