All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
@ 2014-08-11  2:45 ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  2:45 UTC (permalink / raw)
  To: linux-arm-kernel

This short series enables the CMT1 timer using DT on
armadillo800eva-reference.

It is based on "ARM: shmobile: r8a7740: add clocks to DT" applied
on top of renesas-devel-v3.16-20140808.

Ulrich, if you end up reposting "ARM: shmobile: r8a7740: add clocks to DT"
please consider appending this series to it.

Simon Horman (5):
  ARM: shmobile: r8a7740: Add CMT1 device to DT
  ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
  ARM: shmobile: armadillo800eva-reference: Sort includes
  ARM: shmobile: armadillo800eva-reference: Do not use
    r8a7740_add_standard_devices_dt()
  ARM: shmobile: r8a7740: Remove r8a7740_add_standard_devices_dt

 .../arm/boot/dts/r8a7740-armadillo800eva-reference.dts |  4 ++++
 arch/arm/boot/dts/r8a7740.dtsi                         | 12 ++++++++++++
 .../mach-shmobile/board-armadillo800eva-reference.c    |  5 +++--
 arch/arm/mach-shmobile/r8a7740.h                       |  1 -
 arch/arm/mach-shmobile/setup-r8a7740.c                 | 18 ++----------------
 5 files changed, 21 insertions(+), 19 deletions(-)

-- 
2.0.1


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

* [PATCH 0/5] ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
@ 2014-08-11  2:45 ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  2:45 UTC (permalink / raw)
  To: linux-arm-kernel

This short series enables the CMT1 timer using DT on
armadillo800eva-reference.

It is based on "ARM: shmobile: r8a7740: add clocks to DT" applied
on top of renesas-devel-v3.16-20140808.

Ulrich, if you end up reposting "ARM: shmobile: r8a7740: add clocks to DT"
please consider appending this series to it.

Simon Horman (5):
  ARM: shmobile: r8a7740: Add CMT1 device to DT
  ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
  ARM: shmobile: armadillo800eva-reference: Sort includes
  ARM: shmobile: armadillo800eva-reference: Do not use
    r8a7740_add_standard_devices_dt()
  ARM: shmobile: r8a7740: Remove r8a7740_add_standard_devices_dt

 .../arm/boot/dts/r8a7740-armadillo800eva-reference.dts |  4 ++++
 arch/arm/boot/dts/r8a7740.dtsi                         | 12 ++++++++++++
 .../mach-shmobile/board-armadillo800eva-reference.c    |  5 +++--
 arch/arm/mach-shmobile/r8a7740.h                       |  1 -
 arch/arm/mach-shmobile/setup-r8a7740.c                 | 18 ++----------------
 5 files changed, 21 insertions(+), 19 deletions(-)

-- 
2.0.1

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

* [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT
  2014-08-11  2:45 ` Simon Horman
@ 2014-08-11  2:45   ` Simon Horman
  -1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  2:45 UTC (permalink / raw)
  To: linux-arm-kernel

Add the CMT0 counters to the r8a7740 device tree and make it
disabled by default.

Based on work by Magnus Damm.

Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index 6cd6a46..1067a96 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -41,6 +41,18 @@
 		interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	cmt1: timer@e6138000 {
+		compatible = "renesas,cmt-48";
+		reg = <0xe6138000 0x170>;
+		interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks R8A7740_CLK_CMT1>;
+		clock-names = "fck";
+
+		renesas,channels-mask = <0x3f>;
+
+		status = "disabled";
+	};
+
 	/* irqpin0: IRQ0 - IRQ7 */
 	irqpin0: irqpin@e6900000 {
 		compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
-- 
2.0.1


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

* [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT
@ 2014-08-11  2:45   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  2:45 UTC (permalink / raw)
  To: linux-arm-kernel

Add the CMT0 counters to the r8a7740 device tree and make it
disabled by default.

Based on work by Magnus Damm.

Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index 6cd6a46..1067a96 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -41,6 +41,18 @@
 		interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	cmt1: timer at e6138000 {
+		compatible = "renesas,cmt-48";
+		reg = <0xe6138000 0x170>;
+		interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks R8A7740_CLK_CMT1>;
+		clock-names = "fck";
+
+		renesas,channels-mask = <0x3f>;
+
+		status = "disabled";
+	};
+
 	/* irqpin0: IRQ0 - IRQ7 */
 	irqpin0: irqpin at e6900000 {
 		compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
-- 
2.0.1

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

* Re: [PATCH 0/5] ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
  2014-08-11  2:45 ` Simon Horman
@ 2014-08-11  2:50   ` Simon Horman
  -1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  2:50 UTC (permalink / raw)
  To: linux-arm-kernel

I ran into a technical difficulty while sending this series
and not all the messages made it out. I will repost the entire series.

On Mon, Aug 11, 2014 at 11:45:34AM +0900, Simon Horman wrote:
> This short series enables the CMT1 timer using DT on
> armadillo800eva-reference.
> 
> It is based on "ARM: shmobile: r8a7740: add clocks to DT" applied
> on top of renesas-devel-v3.16-20140808.
> 
> Ulrich, if you end up reposting "ARM: shmobile: r8a7740: add clocks to DT"
> please consider appending this series to it.
> 
> Simon Horman (5):
>   ARM: shmobile: r8a7740: Add CMT1 device to DT
>   ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
>   ARM: shmobile: armadillo800eva-reference: Sort includes
>   ARM: shmobile: armadillo800eva-reference: Do not use
>     r8a7740_add_standard_devices_dt()
>   ARM: shmobile: r8a7740: Remove r8a7740_add_standard_devices_dt
> 
>  .../arm/boot/dts/r8a7740-armadillo800eva-reference.dts |  4 ++++
>  arch/arm/boot/dts/r8a7740.dtsi                         | 12 ++++++++++++
>  .../mach-shmobile/board-armadillo800eva-reference.c    |  5 +++--
>  arch/arm/mach-shmobile/r8a7740.h                       |  1 -
>  arch/arm/mach-shmobile/setup-r8a7740.c                 | 18 ++----------------
>  5 files changed, 21 insertions(+), 19 deletions(-)
> 
> -- 
> 2.0.1
> 

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

* [PATCH 0/5] ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
@ 2014-08-11  2:50   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  2:50 UTC (permalink / raw)
  To: linux-arm-kernel

I ran into a technical difficulty while sending this series
and not all the messages made it out. I will repost the entire series.

On Mon, Aug 11, 2014 at 11:45:34AM +0900, Simon Horman wrote:
> This short series enables the CMT1 timer using DT on
> armadillo800eva-reference.
> 
> It is based on "ARM: shmobile: r8a7740: add clocks to DT" applied
> on top of renesas-devel-v3.16-20140808.
> 
> Ulrich, if you end up reposting "ARM: shmobile: r8a7740: add clocks to DT"
> please consider appending this series to it.
> 
> Simon Horman (5):
>   ARM: shmobile: r8a7740: Add CMT1 device to DT
>   ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree
>   ARM: shmobile: armadillo800eva-reference: Sort includes
>   ARM: shmobile: armadillo800eva-reference: Do not use
>     r8a7740_add_standard_devices_dt()
>   ARM: shmobile: r8a7740: Remove r8a7740_add_standard_devices_dt
> 
>  .../arm/boot/dts/r8a7740-armadillo800eva-reference.dts |  4 ++++
>  arch/arm/boot/dts/r8a7740.dtsi                         | 12 ++++++++++++
>  .../mach-shmobile/board-armadillo800eva-reference.c    |  5 +++--
>  arch/arm/mach-shmobile/r8a7740.h                       |  1 -
>  arch/arm/mach-shmobile/setup-r8a7740.c                 | 18 ++----------------
>  5 files changed, 21 insertions(+), 19 deletions(-)
> 
> -- 
> 2.0.1
> 

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

* Re: [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT
  2014-08-11  2:45   ` Simon Horman
@ 2014-08-11  7:11     ` Geert Uytterhoeven
  -1 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2014-08-11  7:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Aug 11, 2014 at 4:45 AM, Simon Horman
<horms+renesas@verge.net.au> wrote:
> Add the CMT0 counters to the r8a7740 device tree and make it

CMT1?

> disabled by default.

> +       cmt1: timer@e6138000 {

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT
@ 2014-08-11  7:11     ` Geert Uytterhoeven
  0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2014-08-11  7:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Aug 11, 2014 at 4:45 AM, Simon Horman
<horms+renesas@verge.net.au> wrote:
> Add the CMT0 counters to the r8a7740 device tree and make it

CMT1?

> disabled by default.

> +       cmt1: timer at e6138000 {

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT
  2014-08-11  7:11     ` Geert Uytterhoeven
@ 2014-08-11  7:57       ` Simon Horman
  -1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  7:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Aug 11, 2014 at 09:11:22AM +0200, Geert Uytterhoeven wrote:
> On Mon, Aug 11, 2014 at 4:45 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > Add the CMT0 counters to the r8a7740 device tree and make it
> 
> CMT1?

Thanks, I was sure I had fixed that... obviously not.

> 
> > disabled by default.
> 
> > +       cmt1: timer@e6138000 {
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

* [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT
@ 2014-08-11  7:57       ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-11  7:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Aug 11, 2014 at 09:11:22AM +0200, Geert Uytterhoeven wrote:
> On Mon, Aug 11, 2014 at 4:45 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > Add the CMT0 counters to the r8a7740 device tree and make it
> 
> CMT1?

Thanks, I was sure I had fixed that... obviously not.

> 
> > disabled by default.
> 
> > +       cmt1: timer at e6138000 {
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

end of thread, other threads:[~2014-08-11  7:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11  2:45 [PATCH 0/5] ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree Simon Horman
2014-08-11  2:45 ` Simon Horman
2014-08-11  2:45 ` [PATCH 1/5] ARM: shmobile: r8a7740: Add CMT1 device to DT Simon Horman
2014-08-11  2:45   ` Simon Horman
2014-08-11  7:11   ` Geert Uytterhoeven
2014-08-11  7:11     ` Geert Uytterhoeven
2014-08-11  7:57     ` Simon Horman
2014-08-11  7:57       ` Simon Horman
2014-08-11  2:50 ` [PATCH 0/5] ARM: shmobile: armadillo800eva-reference: Enable CMT1 in device tree Simon Horman
2014-08-11  2:50   ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.