mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
dt-bindings: interrupt-controller: Add support for Amlogic A9 SoCs
Update dt-binding document for GPIO interrupt controller of Amlogic A9 SoCs. Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260508-a9-gpio-irqchip-v1-2-9dc5f3e022e0@amlogic.com
This commit is contained in:
parent
b257e70892
commit
f51c99a0e5
|
|
@ -38,6 +38,8 @@ properties:
|
|||
- amlogic,a4-gpio-intc
|
||||
- amlogic,a4-gpio-ao-intc
|
||||
- amlogic,a5-gpio-intc
|
||||
- amlogic,a9-gpio-intc
|
||||
- amlogic,a9-gpio-ao-intc
|
||||
- amlogic,c3-gpio-intc
|
||||
- amlogic,s6-gpio-intc
|
||||
- amlogic,s7-gpio-intc
|
||||
|
|
@ -56,7 +58,7 @@ properties:
|
|||
amlogic,channel-interrupts:
|
||||
description: Array with the upstream hwirq numbers
|
||||
minItems: 2
|
||||
maxItems: 12
|
||||
maxItems: 20
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
|
||||
required:
|
||||
|
|
@ -76,9 +78,20 @@ then:
|
|||
amlogic,channel-interrupts:
|
||||
maxItems: 2
|
||||
else:
|
||||
properties:
|
||||
amlogic,channel-interrupts:
|
||||
minItems: 8
|
||||
if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
const: amlogic,a9-gpio-ao-intc
|
||||
then:
|
||||
properties:
|
||||
amlogic,channel-interrupts:
|
||||
minItems: 20
|
||||
else:
|
||||
properties:
|
||||
amlogic,channel-interrupts:
|
||||
minItems: 8
|
||||
maxItems: 12
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user