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

dt-bindings: timer: nuvoton,npcm7xx-timer: Allow specifying all clocks

The timer module contains multiple timers. In the WPCM450 SoC, each timer
runs off a clock can be gated individually. To model this correctly, the
timer node in the devicetree needs to take multiple clock inputs.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221104161850.2889894-2-j.neuschaefer@gmx.net
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>

authored by

Jonathan Neuschäfer and committed by
Daniel Lezcano
aa3f72ea 9ffa5e6b

+7 -1
+7 -1
Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml
··· 25 25 - description: The timer interrupt of timer 0 26 26 27 27 clocks: 28 - maxItems: 1 28 + items: 29 + - description: The reference clock for timer 0 30 + - description: The reference clock for timer 1 31 + - description: The reference clock for timer 2 32 + - description: The reference clock for timer 3 33 + - description: The reference clock for timer 4 34 + minItems: 1 29 35 30 36 required: 31 37 - compatible