Re: [PATCH] dt-bindings: timer: Add QEMU compatible strings

From: Krzysztof Kozlowski
Date: Sat Sep 17 2022 - 12:51:29 EST


On 16/09/2022 14:30, Jean-Philippe Brucker wrote:
> QEMU uses both "arm,armv8-timer" and "arm,armv7-timer" as compatible
> string. Although it is unlikely that any guest relies on this, we can't
> be certain of that. Therefore, add these to the schema. Clean up the
> compatible list a little while at it.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx>

I guess you wanted to say QEMU uses "arm,armv8-timer" followed by
"arm,armv7-timer", because otherwise I would understand it that either
that or that. Anyway, is it a valid (virtualized) hardware? Is ARMv8
timer really, really compatible with ARMv7 one?

I don't think we should document invalid setups out-of-tree, just
because they are there, and something like this was also expressed by Rob:
https://lore.kernel.org/all/20220518163255.GE3302100-robh@xxxxxxxxxx/

Best regards,
Krzysztof