]> asedeno.scripts.mit.edu Git - linux.git/commit
irqchip/irq-mvebu-icu: Support ICU subnodes
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 2 Oct 2018 08:54:16 +0000 (10:54 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 2 Oct 2018 10:59:59 +0000 (11:59 +0100)
commit4f4c867c91e644fc9d461c8c5cf2f09d6d5bcac2
tree0b1d29bd22884c6e3419f4a4f4a1b3f5c090d4d7
parent00885a77c8ffbeee58a9662c92d6a60a9b49f120
irqchip/irq-mvebu-icu: Support ICU subnodes

The ICU can handle several type of interrupt, each of them being handled
differently on AP side. On CP side, the ICU should be able to make the
distinction between each interrupt group by pointing to the right parent.

This is done through the introduction of new bindings, presenting the ICU
node as the parent of multiple ICU sub-nodes, each of them being an
interrupt type with a different interrupt parent. ICU interrupt 'clients'
now directly point to the right sub-node, avoiding the need for the extra
ICU_GRP_* parameter.

ICU subnodes are probed automatically with devm_platform_populate(). If
the node as no child, the probe function for NSRs will still be called
'manually' in order to preserve backward compatibility with DT using the
old binding.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-mvebu-icu.c