Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742770

[PATCH v1 2/2] dt-binding: timer: document NPCM7xx timer DT bindings

From Tomer Maimon <tmaimon77@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v1 2/2] dt-binding: timer: document NPCM7xx timer DT bindings
Date 2017-10-01 12:20 +0200
Message-ID <uvJvQ-OB-17@gated-at.bofh.it> (permalink)
References <uvJvP-OB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Added device tree binding documentation for Nuvoton NPCM7xx timer.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
 .../bindings/timer/nuvoton,npcm7xx-timer.txt       | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt

diff --git a/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt b/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt
new file mode 100644
index 000000000000..d1beea901509
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt
@@ -0,0 +1,25 @@
+Nuvoton NPCM7xx timer
+
+Nuvoton NPCM7xx have three timer modules, each timer module provides five 24-bit
+timer counters.
+
+Required properties:
+- compatible      : "nuvoton,npcm7xx-timer" for Poleg NPCM7xx.
+- reg             : Offset and length of the register set for the device.
+- interrupts      : Contain the timer interrupt with flags for
+                    falling edge.
+
+Required clocking property, have to be one of:
+- clocks          : phandle of timer reference clock.
+- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
+                    timer (usually 25000000).
+
+Example:
+
+timer@f0008000 {
+    compatible = "nuvoton,npcm7xx-timer";
+    interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+    reg = <0xf0008000 0x1000>;
+    clocks = <&clk NPCM7XX_CLK_TIMER>;
+};
+
-- 
2.14.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v1 0/2] clocksource: npcm: add NPCM7xx timer driver Tomer Maimon <tmaimon77@gmail.com> - 2017-10-01 12:20 +0200
  [PATCH v1 2/2] dt-binding: timer: document NPCM7xx timer DT bindings Tomer Maimon <tmaimon77@gmail.com> - 2017-10-01 12:20 +0200
  [PATCH v1 1/2] clocksource: npcm: add NPCM7xx timer driver Tomer Maimon <tmaimon77@gmail.com> - 2017-10-01 12:20 +0200
    Re: [PATCH v1 1/2] clocksource: npcm: add NPCM7xx timer driver Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-10-01 18:50 +0200
  Re: [PATCH v1 0/2] clocksource: npcm: add NPCM7xx timer driver Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-10-01 18:50 +0200

csiph-web