irqchip/apple-aic: Switch to irq_domain_create_tree and sparse hwirqs
authorHector Martin <marcan@marcan.st>
Tue, 7 Dec 2021 10:53:07 +0000 (19:53 +0900)
committerHector Martin <marcan@marcan.st>
Sat, 19 Feb 2022 07:52:26 +0000 (16:52 +0900)
commitadc29494fdd7729f3b281966d5d51c01a4838f30
tree5b98ffc0f747d94457fc690101ef61d83be916e0
parentb1041f1c73ced5a32940a974292ef9213d92df0d
irqchip/apple-aic: Switch to irq_domain_create_tree and sparse hwirqs

This allows us to directly use the hardware event number as the hwirq
number. Since IRQ events have bit 16 set (type=1), FIQs now move to
starting at hwirq number 0.

This will become more important once multi-die support is introduced in
a later commit.

Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/irqchip/irq-apple-aic.c