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

dt-bindings: interrupt-controller: Add support for Microchip LAN966x OIC

The Microchip LAN966x outband interrupt controller (OIC) maps the
internal interrupt sources of the LAN966x device to an external
interrupt.
When the LAN966x device is used as a PCI device, the external interrupt
is routed to the PCI interrupt.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240614173232.1184015-22-herve.codina@bootlin.com

authored by

Herve Codina and committed by
Thomas Gleixner
17972a5f 0b4b172b

+55
+55
Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interrupt-controller/microchip,lan966x-oic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microchip LAN966x outband interrupt controller 8 + 9 + maintainers: 10 + - Herve Codina <herve.codina@bootlin.com> 11 + 12 + allOf: 13 + - $ref: /schemas/interrupt-controller.yaml# 14 + 15 + description: | 16 + The Microchip LAN966x outband interrupt controller (OIC) maps the internal 17 + interrupt sources of the LAN966x device to an external interrupt. 18 + When the LAN966x device is used as a PCI device, the external interrupt is 19 + routed to the PCI interrupt. 20 + 21 + properties: 22 + compatible: 23 + const: microchip,lan966x-oic 24 + 25 + '#interrupt-cells': 26 + const: 2 27 + 28 + interrupt-controller: true 29 + 30 + reg: 31 + maxItems: 1 32 + 33 + interrupts: 34 + maxItems: 1 35 + 36 + required: 37 + - compatible 38 + - '#interrupt-cells' 39 + - interrupt-controller 40 + - interrupts 41 + - reg 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + interrupt-controller@e00c0120 { 48 + compatible = "microchip,lan966x-oic"; 49 + reg = <0xe00c0120 0x190>; 50 + #interrupt-cells = <2>; 51 + interrupt-controller; 52 + interrupts = <0>; 53 + interrupt-parent = <&intc>; 54 + }; 55 + ...