Re: [PATCH v2 14/25] dt-bindings: interrupt-controller: Add DT bindings for apple-aic

From
Arnd Bergmann <arnd@kernel.org>
Date
2021-02-16 09:42:15
Also in
linux-arm-kernel, lkml
Reply to
Hector Martin, 2021-02-15
On Mon, Feb 15, 2021 at 1:17 PM Hector Martin [off-list ref] wrote:
quoted hunk ↗ jump to hunk
+
+      The 2nd cell contains the interrupt number.
+        - HW IRQs: interrupt number
+        - FIQs:
+          - 0: physical HV timer
+          - 1: virtual HV timer
+          - 2: physical guest timer
+          - 3: virtual guest timer
I wonder if you could just model the FIQ as a single shared level interrupt
(which is essentially what it is), and have every driver that uses it do a
request_irq() on the same IRQ number.

This would avoid having to come up with a fake binding for it, and simplify
the implementation that then no longer has to peek into each interrupt
source.

     Arnd
Thread (88 messages) 88 messages, 10 authors, last reply 2021-03-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help