]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: timer: arm,arch_timer: Allow dual compatible string
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Thu, 22 Sep 2022 16:11:50 +0000 (17:11 +0100)
committerRob Herring <robh@kernel.org>
Mon, 26 Sep 2022 18:35:27 +0000 (13:35 -0500)
commit292d25c0887626a186368224e7361af3de348ee2
treeeca8896f62c87affe0487528cb0852f71618b3a1
parentb4fae5f6cb90ae17a27dbf7fc8b3512ba27c9f01
dt-bindings: timer: arm,arch_timer: Allow dual compatible string

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@linaro.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220922161149.371565-1-jean-philippe@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/timer/arm,arch_timer.yaml