linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/8] ARM: shmobile: r8a7779: Add TMU devices to DT
Date: Thu, 17 Jul 2014 09:40:30 +0900	[thread overview]
Message-ID: <0838e16e9115c7837d98acc19929dd8c537432ea.1405556312.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1405556312.git.horms+renesas@verge.net.au>

From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Add the TMU0, TMU1 and TMU2 counters to the r8a7779 device tree and make
them disabled by default.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7779.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
index 58d0d95..463e3fd 100644
--- a/arch/arm/boot/dts/r8a7779.dtsi
+++ b/arch/arm/boot/dts/r8a7779.dtsi
@@ -266,6 +266,48 @@
 		reg = <0xffc48000 0x38>;
 	};
 
+	tmu0: timer at ffd80000 {
+		compatible = "renesas,tmu";
+		reg = <0xffd80000 0x30>;
+		interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 33 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 34 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp0_clks R8A7779_CLK_TMU0>;
+		clock-names = "fck";
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
+	tmu1: timer at ffd81000 {
+		compatible = "renesas,tmu";
+		reg = <0xffd81000 0x30>;
+		interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 37 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 38 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp0_clks R8A7779_CLK_TMU1>;
+		clock-names = "fck";
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
+	tmu2: timer at ffd82000 {
+		compatible = "renesas,tmu";
+		reg = <0xffd82000 0x30>;
+		interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 41 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 42 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp0_clks R8A7779_CLK_TMU2>;
+		clock-names = "fck";
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
 	sata: sata at fc600000 {
 		compatible = "renesas,rcar-sata";
 		reg = <0xfc600000 0x2000>;
-- 
2.0.0

  parent reply	other threads:[~2014-07-17  0:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17  0:40 [GIT PULL] Renesas ARM Based SoC DT Timers Updates for v3.17 Simon Horman
2014-07-17  0:40 ` [PATCH 1/8] ARM: shmobile: r8a7790: Add CMT devices to DT Simon Horman
2014-07-17  0:40 ` [PATCH 2/8] ARM: shmobile: r8a7791: " Simon Horman
2014-07-17  0:40 ` Simon Horman [this message]
2014-07-17  0:40 ` [PATCH 4/8] ARM: shmobile: lager-reference: Enable CMT0 in device tree Simon Horman
2014-07-17  0:40 ` [PATCH 5/8] ARM: shmobile: koelsch-reference: " Simon Horman
2014-07-17  0:40 ` [PATCH 6/8] ARM: shmobile: marzen-reference: Enable TMU0 " Simon Horman
2014-07-17  0:40 ` [PATCH 7/8] ARM: shmobile: r7s72100: Add MTU2 device to DT Simon Horman
2014-07-17  0:40 ` [PATCH 8/8] ARM: shmobile: genmai-reference: Enable MTU2 in device tree Simon Horman
2014-07-19  5:27 ` [GIT PULL] Renesas ARM Based SoC DT Timers Updates for v3.17 Olof Johansson
2014-07-20 13:51   ` Simon Horman
2014-07-23 23:54     ` Simon Horman
2014-07-24  0:00       ` Olof Johansson
2014-07-24  2:05         ` Simon Horman
2014-08-20  0:24 [GIT PULL] Renesas ARM Based SoC DT Timers Updates for v3.18 Simon Horman
2014-08-20  0:24 ` [PATCH 3/8] ARM: shmobile: r8a7779: Add TMU devices to DT Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0838e16e9115c7837d98acc19929dd8c537432ea.1405556312.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).