Commit aa3f72ea authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Daniel Lezcano
Browse files

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: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221104161850.2889894-2-j.neuschaefer@gmx.net


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@kernel.org>
parent 9ffa5e6b
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -25,7 +25,13 @@ properties:
      - description: The timer interrupt of timer 0

  clocks:
    maxItems: 1
    items:
      - description: The reference clock for timer 0
      - description: The reference clock for timer 1
      - description: The reference clock for timer 2
      - description: The reference clock for timer 3
      - description: The reference clock for timer 4
    minItems: 1

required:
  - compatible