dt-bindings: timer: nuvoton,npcm7xx-timer: Convert to YAML
PATCH v2 1/1 dt-bindings: timer: nuvoton,npcm7xx-timer: Convert to YAML
Let's convert this devicetree binding to YAML, to make it easier to extend later.
Signed-off-by Jonathan Neuschäfer <[email protected]>
---
v2:
- Fix nuvoton,npcm750-timer compatible string
--- .../bindings/timer/nuvoton,npcm7xx-timer.txt | 21 --------- .../bindings/timer/nuvoton,npcm7xx-timer.yaml | 46 +++++++++++++++++++ 2 files changed, 46 insertions(+), 21 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml
Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt deleted +0 -21
@@ -1,21 +0,0 @@ -Nuvoton NPCM7xx timer - -Nuvoton NPCM7xx have three timer modules, each timer module provides five 24-bit -timer counters. - -Required properties: -- compatible : "nuvoton,npcm750-timer" for Poleg NPCM750, or - "nuvoton,wpcm450-timer" for Hermon WPCM450. -- reg : Offset and length of the register set for the device. -- interrupts : Contain the timer interrupt of timer 0. -- clocks : phandle of timer reference clock (usually a 25 MHz clock). - -Example: - -timer@f0008000 { - compatible = "nuvoton,npcm750-timer"; - interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; - reg = <0xf0008000 0x50>; - clocks = <&clk NPCM7XX_CLK_TIMER>; -}; -
Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml new file +46 -0
46 lines not on this page · raw message
--
2.34.1
Quoted 6 lines · Jonathan Neuschäfer
Let's convert this devicetree binding to YAML, to make it easier to extend later.
Signed-off-by Jonathan Neuschäfer <[email protected]>---
Quoted 9 lines
v2:
- Fix nuvoton,npcm750-timer compatible string--- .../bindings/timer/nuvoton,npcm7xx-timer.txt | 21 --------- .../bindings/timer/nuvoton,npcm7xx-timer.yaml | 46 +++++++++++++++++++ 2 files changed, 46 insertions(+), 21 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml
Applied, thanks!