[PATCH 03/16] dt-bindings: timer: arm,arch_timer: Fix requirements for interrupt description
Rob Herring (Arm)
robh at kernel.org
Wed May 13 15:33:20 PDT 2026
On Thu, 07 May 2026 13:55:31 +0100, Marc Zyngier wrote:
> The arm,arch_timer DT binding is extremely imprecise in describing
> the requirements for interrupts.
>
> Follow the architecture by making it explicit that:
> - the EL1 secure timer irq is required if EL3 is implemented
> - the EL1 physical timer irq is always required
> - the EL1 virtual timer irq is always required
> - the EL2 physical timer irq is required if EL2 is implemented
> - the EL2 virtual timer irq is required if FEAT_VHE is implemented
>
> The consequence of the above is that the minimum number of interrupts
> to be described is 2, and not 1.
>
> Finally, clean up the description which made the assumption that
> the timers are plugged into a GIC (unfortunately, that's not always
> true), drop the MMIO nonsense that has long be moved to a separate
> binding, and use the architectural terminology to describe the various
> interrupts.
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
> .../bindings/timer/arm,arch_timer.yaml | 21 +++++++------------
> 1 file changed, 8 insertions(+), 13 deletions(-)
>
Acked-by: Rob Herring (Arm) <robh at kernel.org>
More information about the linux-arm-kernel
mailing list