Re: [PATCH v2] dt-bindings: timer: arm,arch_timer: Allow dual compatible string

From: robh
Date: Mon Sep 26 2022 - 14:35:49 EST


On Thu, 22 Sep 2022 17:11:50 +0100, Jean-Philippe Brucker wrote:
> Since the Armv7 and Armv8 architected timers are compatible, it is valid
> to expose a devicetree node with compatible string "arm,armv8-timer"
> followed by "arm,armv7-timer". For example a 32-bit guest running on a
> 64-bit machine may look for the v7 string even though the hardware is v8.
> VMMs such as QEMU and kvmtool have been using this compatible string for
> some time. Clean up the compatible list a little and add the dual
> option.
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx>
> ---
> v2: Reworked commit message, removed "obsolete" description
> v1: https://lore.kernel.org/all/20220916132959.1910374-1-jean-philippe@xxxxxxxxxx/
> ---
> .../devicetree/bindings/timer/arm,arch_timer.yaml | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
>

Applied, thanks!