Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653656
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 31/58] ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices |
| Date | 2017-05-31 00:10 +0200 |
| Message-ID | <tMXuW-4AS-13@gated-at.bofh.it> (permalink) |
| References | <tMXlg-4i6-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time. It also allows to use
regmap instead of tclib.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 4 +++-
arch/arm/boot/dts/sama5d3_tcb1.dtsi | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index b06448ba6649..d026470c10e7 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -142,7 +142,9 @@
};
tcb0: timer@f0010000 {
- compatible = "atmel,at91sam9x5-tcb";
+ compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0xf0010000 0x100>;
interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&tcb0_clk>, <&clk32k>;
diff --git a/arch/arm/boot/dts/sama5d3_tcb1.dtsi b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
index 801f9745e82f..cb30bdb1a9ca 100644
--- a/arch/arm/boot/dts/sama5d3_tcb1.dtsi
+++ b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
@@ -28,7 +28,9 @@
};
tcb1: timer@f8014000 {
- compatible = "atmel,at91sam9x5-tcb";
+ compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0xf8014000 0x100>;
interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&tcb1_clk>, <&clk32k>;
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/58] ARM: at91: rework Atmel TCB drivers Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 22/58] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 31/58] ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 29/58] ARM: dts: at91: cosino: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 15/58] ARM: dts: at91: at91sam9261ek: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 24/58] ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 09/58] ARM: dts: at91: foxg20: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 02/58] ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 13/58] ARM: dts: at91: ge863-pro3: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 03/58] ARM: dts: at91: at91rm9200ek: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 25/58] ARM: dts: at91: at91sam9n12ek: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 06/58] ARM: dts: at91: at91sam9260ek: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 11/58] ARM: dts: at91: kizbox: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 07/58] ARM: dts: at91: sam9_l9260: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 04/58] ARM: dts: at91: mpa1600: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 28/58] ARM: dts: at91: acme/g25: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 26/58] ARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devices Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 33/58] ARM: dts: at91: sama5d3 Xplained: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 [PATCH 27/58] ARM: dts: at91: at91sam9x5cm: use TCB0 as clocksource Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:10 +0200 Re: [PATCH 00/58] ARM: at91: rework Atmel TCB drivers Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 09:30 +0200
csiph-web