Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: timer: Add compatible for am6 for TI timer-dm

Let's add compatible for ti,am654-timer for TI am64, am65 and j72 SoCs.
As the timer hardware is the same between am64, am65 and j72 we use the
compatible name for the earliest SoC with this timer.

The timer interrupts are not routable for the operating system for some
timers on am6. Let's make sure the interrupts are configured for the
timers on all other SoCs.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220414085807.7389-3-tony@atomide.com

authored by

Tony Lindgren and committed by
Rob Herring
c4f3f823 82b9a6bb

+11 -1
+11 -1
Documentation/devicetree/bindings/timer/ti,timer-dm.yaml
··· 19 19 - enum: 20 20 - ti,am335x-timer 21 21 - ti,am335x-timer-1ms 22 + - ti,am654-timer 22 23 - ti,dm814-timer 23 24 - ti,dm816-timer 24 25 - ti,omap2420-timer ··· 89 88 required: 90 89 - compatible 91 90 - reg 92 - - interrupts 93 91 94 92 additionalProperties: false 95 93 96 94 allOf: 95 + - if: 96 + not: 97 + properties: 98 + compatible: 99 + contains: 100 + const: ti,am654-timer 101 + then: 102 + required: 103 + - interrupts 104 + 97 105 - if: 98 106 not: 99 107 properties: