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

dt-bindings: timer: Add missing compatibles

Newer Allwinner SoCs have different number of interrupts, let's add
different compatibles for all of them to deal with this properly.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Maxime Ripard and committed by
Daniel Lezcano
7fccfcd6 a08bda2d

+26
+26
Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml
··· 14 14 compatible: 15 15 enum: 16 16 - allwinner,sun4i-a10-timer 17 + - allwinner,sun8i-a23-timer 18 + - allwinner,sun8i-v3s-timer 17 19 - allwinner,suniv-f1c100s-timer 18 20 19 21 reg: ··· 40 38 interrupts: 41 39 minItems: 6 42 40 maxItems: 6 41 + 42 + - if: 43 + properties: 44 + compatible: 45 + items: 46 + const: allwinner,sun8i-a23-timer 47 + 48 + then: 49 + properties: 50 + interrupts: 51 + minItems: 2 52 + maxItems: 2 53 + 54 + - if: 55 + properties: 56 + compatible: 57 + items: 58 + const: allwinner,sun8i-v3s-timer 59 + 60 + then: 61 + properties: 62 + interrupts: 63 + minItems: 3 64 + maxItems: 3 43 65 44 66 - if: 45 67 properties: