diff options
author | Jonathan Neuschäfer <[email protected]> | 2022-11-04 17:18:45 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-12-02 12:48:28 +0100 |
commit | aa3f72ea9410f8c9394a5d25bbf40a4cfb56f5a0 (patch) | |
tree | 4b363068876cab1c8a7896bb74158c61e3bcba72 | |
parent | 9ffa5e6b8f93ccf1a217dd12e204c1a5e211abef (diff) |
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 <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml b/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml index 737af78ad70c..d53e1bb98b8a 100644 --- a/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml +++ b/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml @@ -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 |