Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interrupt-controller: realtek,rtl-intc: Add rtl9300-intc

Add a compatible string for the interrupt controller found on the
rtl930x SoCs. The interrupt controller has registers for VPE1 so these
are added as a second reg cell.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Chris Packham and committed by
Thomas Bogendoerfer
371c358d 93eed635

+19 -1
+19 -1
Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
··· 25 25 - items: 26 26 - enum: 27 27 - realtek,rtl8380-intc 28 + - realtek,rtl9300-intc 28 29 - const: realtek,rtl-intc 29 30 - const: realtek,rtl-intc 30 31 deprecated: true ··· 36 35 const: 1 37 36 38 37 reg: 39 - maxItems: 1 38 + minItems: 1 39 + items: 40 + - description: vpe0 registers 41 + - description: vpe1 registers 40 42 41 43 interrupts: 42 44 minItems: 1 ··· 75 71 else: 76 72 required: 77 73 - interrupts 74 + - if: 75 + properties: 76 + compatible: 77 + contains: 78 + const: realtek,rtl9300-intc 79 + then: 80 + properties: 81 + reg: 82 + minItems: 2 83 + maxItems: 2 84 + else: 85 + properties: 86 + reg: 87 + maxItems: 1 78 88 79 89 additionalProperties: false 80 90