All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: mvebu: Add RTC support for Armada 375
@ 2014-07-31 13:44 Gregory CLEMENT
  2014-07-31 13:46 ` Gregory CLEMENT
  2014-07-31 14:15 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2014-07-31 13:44 UTC (permalink / raw)
  To: linux-arm-kernel

The Armada 375 XP Socs have the same controller that the one used in
the orion platforms. This patch updates the device tree for these
SoCs.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
Hi Jason,

We missed it for the initial support of the SoC.

I know that it is very late for including for 3.17, so if it is
postpone for 3.18, it's fine.

However given the little change, maybe it is still possible to push it
in 3.17 ^_^

Thanks,

Gregory


 arch/arm/boot/dts/armada-375.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
index 893e2a93eba0..f6fe2c270938 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -185,6 +185,12 @@
 				};
 			};
 
+			rtc at 10300 {
+				compatible = "marvell,orion-rtc";
+				reg = <0x10300 0x20>;
+				interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+			};
+
 			spi0: spi at 10600 {
 				compatible = "marvell,orion-spi";
 				reg = <0x10600 0x50>;
-- 
1.8.1.2

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

* [PATCH] ARM: mvebu: Add RTC support for Armada 375
  2014-07-31 13:44 [PATCH] ARM: mvebu: Add RTC support for Armada 375 Gregory CLEMENT
@ 2014-07-31 13:46 ` Gregory CLEMENT
  2014-07-31 14:15 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2014-07-31 13:46 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


of course it only when the patch is setn that I found a typo:

On 31/07/2014 15:44, Gregory CLEMENT wrote:
> The Armada 375 XP Socs have the same controller that the one used in

It is Armada 375 not Armada 375 XP!


Thanks,

Gregory

> the orion platforms. This patch updates the device tree for these
> SoCs.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
> Hi Jason,
> 
> We missed it for the initial support of the SoC.
> 
> I know that it is very late for including for 3.17, so if it is
> postpone for 3.18, it's fine.
> 
> However given the little change, maybe it is still possible to push it
> in 3.17 ^_^
> 
> Thanks,
> 
> Gregory
> 
> 
>  arch/arm/boot/dts/armada-375.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index 893e2a93eba0..f6fe2c270938 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -185,6 +185,12 @@
>  				};
>  			};
>  
> +			rtc at 10300 {
> +				compatible = "marvell,orion-rtc";
> +				reg = <0x10300 0x20>;
> +				interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
> +			};
> +
>  			spi0: spi at 10600 {
>  				compatible = "marvell,orion-spi";
>  				reg = <0x10600 0x50>;
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [PATCH] ARM: mvebu: Add RTC support for Armada 375
  2014-07-31 13:44 [PATCH] ARM: mvebu: Add RTC support for Armada 375 Gregory CLEMENT
  2014-07-31 13:46 ` Gregory CLEMENT
@ 2014-07-31 14:15 ` Thomas Petazzoni
  2014-07-31 14:21   ` Gregory CLEMENT
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2014-07-31 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

Dear Gregory CLEMENT,

On Thu, 31 Jul 2014 15:44:36 +0200, Gregory CLEMENT wrote:

> The Armada 375 XP Socs have the same controller that the one used in
> the orion platforms. This patch updates the device tree for these
> SoCs.

Actually there's only one Armada 375 SoC, so singular would be good.
And s/that/than/ as well. And "controller" is a bit vague. Proposal:

"""
The Armada 375 SoC has the same real time clock as the one used in
other Marvell EBU platforms. This patch consequently updates the Device
Tree of the Armada 375 SoC to describe the internal RTC.
"""

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [PATCH] ARM: mvebu: Add RTC support for Armada 375
  2014-07-31 14:15 ` Thomas Petazzoni
@ 2014-07-31 14:21   ` Gregory CLEMENT
  0 siblings, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2014-07-31 14:21 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Thomas,

On 31/07/2014 16:15, Thomas Petazzoni wrote:
> Dear Gregory CLEMENT,
> 
> On Thu, 31 Jul 2014 15:44:36 +0200, Gregory CLEMENT wrote:
> 
>> The Armada 375 XP Socs have the same controller that the one used in
>> the orion platforms. This patch updates the device tree for these
>> SoCs.
> 
> Actually there's only one Armada 375 SoC, so singular would be good.

On this point I was referring to the chips not to the family. But I agree
that it can be understood in both way.

> And s/that/than/ as well. And "controller" is a bit vague. Proposal:
> 
> """
> The Armada 375 SoC has the same real time clock as the one used in
> other Marvell EBU platforms. This patch consequently updates the Device
> Tree of the Armada 375 SoC to describe the internal RTC.
> """

I agree with your proposal I will sent a new version soon.

Thanks,

Gregory


> 
> Thanks,
> 
> Thomas
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2014-07-31 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31 13:44 [PATCH] ARM: mvebu: Add RTC support for Armada 375 Gregory CLEMENT
2014-07-31 13:46 ` Gregory CLEMENT
2014-07-31 14:15 ` Thomas Petazzoni
2014-07-31 14:21   ` Gregory CLEMENT

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.