linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini
@ 2017-01-22 12:17 Linus Walleij
  2017-01-23 20:02 ` Rob Herring
  2017-01-26 12:54 ` Daniel Lezcano
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2017-01-22 12:17 UTC (permalink / raw)
  To: linux-arm-kernel, Hans Ulli Kroll, Florian Fainelli,
	Daniel Lezcano, Thomas Gleixner
  Cc: Janos Laube, Paulius Zaleckas, openwrt-devel, Arnd Bergmann,
	linux-kernel, Linus Walleij, devicetree

This adds device tree bindings for the Cortina Systems Gemini
timer block used in these SoCs.

Cc: Janos Laube <janos.dev@gmail.com>
Cc: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
clocksource maintainers: please just apply this when you feel
pleased with it. These portions are functionally orthogonal to
the series, it is just in a series for context.
---
 .../bindings/timer/cortina,gemini-timer.txt        | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt

diff --git a/Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt b/Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt
new file mode 100644
index 000000000000..16ea1d3b2e9e
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt
@@ -0,0 +1,22 @@
+Cortina Systems Gemini timer
+
+This timer is embedded in the Cortina Systems Gemini SoCs.
+
+Required properties:
+
+- compatible : Must be "cortina,gemini-timer"
+- reg : Should contain registers location and length
+- interrupts : Should contain the three timer interrupts with
+  flags for rising edge
+- syscon : a phandle to the global Gemini system controller
+
+Example:
+
+timer@43000000 {
+	compatible = "cortina,gemini-timer";
+	reg = <0x43000000 0x1000>;
+	interrupts = <14 IRQ_TYPE_EDGE_RISING>, /* Timer 1 */
+		   <15 IRQ_TYPE_EDGE_RISING>, /* Timer 2 */
+		   <16 IRQ_TYPE_EDGE_RISING>; /* Timer 3 */
+	syscon = <&syscon>;
+};
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini
  2017-01-22 12:17 [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini Linus Walleij
@ 2017-01-23 20:02 ` Rob Herring
  2017-01-26 12:54 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2017-01-23 20:02 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-arm-kernel, Hans Ulli Kroll, Florian Fainelli,
	Daniel Lezcano, Thomas Gleixner, Janos Laube, Paulius Zaleckas,
	openwrt-devel, Arnd Bergmann, linux-kernel, devicetree

On Sun, Jan 22, 2017 at 01:17:07PM +0100, Linus Walleij wrote:
> This adds device tree bindings for the Cortina Systems Gemini
> timer block used in these SoCs.
> 
> Cc: Janos Laube <janos.dev@gmail.com>
> Cc: Paulius Zaleckas <paulius.zaleckas@gmail.com>
> Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com>
> Cc: Florian Fainelli <f.fainelli@gmail.com>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> clocksource maintainers: please just apply this when you feel
> pleased with it. These portions are functionally orthogonal to
> the series, it is just in a series for context.
> ---
>  .../bindings/timer/cortina,gemini-timer.txt        | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini
  2017-01-22 12:17 [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini Linus Walleij
  2017-01-23 20:02 ` Rob Herring
@ 2017-01-26 12:54 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2017-01-26 12:54 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-arm-kernel, Hans Ulli Kroll, Florian Fainelli,
	Thomas Gleixner, Janos Laube, Paulius Zaleckas, openwrt-devel,
	Arnd Bergmann, linux-kernel, devicetree

On Sun, Jan 22, 2017 at 01:17:07PM +0100, Linus Walleij wrote:
> This adds device tree bindings for the Cortina Systems Gemini
> timer block used in these SoCs.
> 
> Cc: Janos Laube <janos.dev@gmail.com>
> Cc: Paulius Zaleckas <paulius.zaleckas@gmail.com>
> Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com>
> Cc: Florian Fainelli <f.fainelli@gmail.com>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> clocksource maintainers: please just apply this when you feel
> pleased with it. These portions are functionally orthogonal to
> the series, it is just in a series for context.
> ---

Hi Linus,

I picked this one for 4.11.

Thanks.

  -- Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-26 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-22 12:17 [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini Linus Walleij
2017-01-23 20:02 ` Rob Herring
2017-01-26 12:54 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).