linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 24/45] ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices
Date: Tue, 19 Dec 2017 22:31:48 +0100	[thread overview]
Message-ID: <20171219213209.13823-25-alexandre.belloni@free-electrons.com> (raw)
In-Reply-To: <20171219213209.13823-1-alexandre.belloni@free-electrons.com>

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/at91sam9n12.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index e0ac824e0785..4b62f4f963f6 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -446,7 +446,9 @@
 			};
 
 			tcb0: timer at f8008000 {
-				compatible = "atmel,at91sam9x5-tcb";
+				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0xf8008000 0x100>;
 				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
 				clocks = <&tcb_clk>, <&clk32k>;
@@ -454,7 +456,9 @@
 			};
 
 			tcb1: timer at f800c000 {
-				compatible = "atmel,at91sam9x5-tcb";
+				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0xf800c000 0x100>;
 				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
 				clocks = <&tcb_clk>, <&clk32k>;
-- 
2.15.1

  parent reply	other threads:[~2017-12-19 21:31 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 21:31 [PATCH 00/45] Migrate TCB bindings Alexandre Belloni
2017-12-19 21:31 ` [PATCH 01/45] ARM: at91: Document new " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 02/45] ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 03/45] ARM: dts: at91: at91rm9200ek: use TCB0 for timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 04/45] ARM: dts: at91: mpa1600: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 05/45] ARM: dts: at91: at91sam9260: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 06/45] ARM: dts: at91: at91sam9260ek: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 07/45] ARM: dts: at91: sam9_l9260: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 08/45] ARM: dts: at91: ethernut5: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 09/45] ARM: dts: at91: foxg20: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 10/45] ARM: dts: at91: animeo_ip: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 11/45] ARM: dts: at91: kizbox: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 12/45] ARM: dts: at91: at91sam9g20ek: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 13/45] ARM: dts: at91: ge863-pro3: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 14/45] ARM: dts: at91: at91sam9261: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 15/45] ARM: dts: at91: at91sam9261ek: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 16/45] ARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 17/45] ARM: dts: at91: at91sam9263ek: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 18/45] ARM: dts: at91: calao: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 19/45] ARM: dts: at91: at91sam9g45: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 20/45] ARM: dts: at91: at91sam9m10g45ek: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 21/45] ARM: dts: at91: pm9g45: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 22/45] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 23/45] ARM: dts: at91: at91sam9rlek: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` Alexandre Belloni [this message]
2017-12-19 21:31 ` [PATCH 25/45] ARM: dts: at91: at91sam9n12ek: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 26/45] ARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 27/45] ARM: dts: at91: at91sam9x5cm: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 28/45] ARM: dts: at91: acme/g25: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 29/45] ARM: dts: at91: cosino: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 30/45] ARM: dts: at91: kizboxmini: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 31/45] ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:31 ` [PATCH 32/45] ARM: dts: at91: sama5d3xek: use TCB0 as timers Alexandre Belloni
2017-12-19 21:31 ` [PATCH 33/45] ARM: dts: at91: sama5d3 Xplained: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 34/45] ARM: dts: at91: kizbox2: " Alexandre Belloni
2017-12-19 21:31 ` [PATCH 35/45] ARM: dts: at91: sama5d3xek_cmp: " Alexandre Belloni
2017-12-19 21:32 ` [PATCH 36/45] ARM: dts: at91: linea/tse850-3: " Alexandre Belloni
2017-12-19 21:32 ` [PATCH 37/45] ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:32 ` [PATCH 38/45] ARM: dts: at91: sama5d4: Add TCB2 Alexandre Belloni
2017-12-19 21:32 ` [PATCH 39/45] ARM: dts: at91: sama5d4ek: use TCB2 as timers Alexandre Belloni
2017-12-19 21:32 ` [PATCH 40/45] ARM: dts: at91: sama5d4 Xplained: " Alexandre Belloni
2017-12-19 21:32 ` [PATCH 41/45] ARM: dts: at91: ma5d4: " Alexandre Belloni
2017-12-19 21:32 ` [PATCH 42/45] ARM: dts: at91: vinco: " Alexandre Belloni
2017-12-20  8:13   ` Gregory CLEMENT
2017-12-19 21:32 ` [PATCH 43/45] ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices Alexandre Belloni
2017-12-19 21:32 ` [PATCH 44/45] ARM: dts: at91: sama5d2 Xplained: use TCB0 as timers Alexandre Belloni
2017-12-19 21:32 ` [PATCH 45/45] ARM: dts: at91: sama5d27_som1_ek: " Alexandre Belloni
2017-12-20  8:14 ` [PATCH 00/45] Migrate TCB bindings Nicolas Ferre
2017-12-20  9:04 ` [PATCH] ARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timers Nicolas Ferre
2017-12-20 10:00   ` Alexandre Belloni

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=20171219213209.13823-25-alexandre.belloni@free-electrons.com \
    --to=alexandre.belloni@free-electrons.com \
    --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).