dt-bindings: timer: arm,arch_timer: Add interrupt-names support
authorHector Martin <marcan@marcan.st>
Sun, 14 Feb 2021 07:07:27 +0000 (16:07 +0900)
committerHector Martin <marcan@marcan.st>
Thu, 8 Apr 2021 11:18:38 +0000 (20:18 +0900)
commita6cf39fbe133857a7f26f0cab8198869caf44dee
tree9f361aa506ddc02a5a1b07b63a294ea8a765c5d8
parent11ecdad722daafcac09c4859dddf31b3d46449bc
dt-bindings: timer: arm,arch_timer: Add interrupt-names support

Not all platforms provide the same set of timers/interrupts, and Linux
only needs one (plus kvm/guest ones); some platforms are working around
this by using dummy fake interrupts. Implementing interrupt-names allows
the devicetree to specify an arbitrary set of available interrupts, so
the timer code can pick the right one.

This also adds the hyp-virt timer/interrupt, which was previously not
expressed in the fixed 4-interrupt form.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Documentation/devicetree/bindings/timer/arm,arch_timer.yaml