linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a
@ 2015-07-06  2:38 Alison Wang
  2015-07-14  2:53 ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Alison Wang @ 2015-07-06  2:38 UTC (permalink / raw)
  To: shawn.guo, jason.jin, linux-arm-kernel, linux-kernel; +Cc: Wang Dongsheng

From: Wang Dongsheng <dongsheng.wang@freescale.com>

Add ftm0 node, cause of ftm0 can be set as a alarm before system
going to deep sleep.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
---
 arch/arm/boot/dts/ls1021a-qds.dts | 4 ++++
 arch/arm/boot/dts/ls1021a.dtsi    | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
index 9533f1d..e2ccae6 100644
--- a/arch/arm/boot/dts/ls1021a-qds.dts
+++ b/arch/arm/boot/dts/ls1021a-qds.dts
@@ -146,6 +146,10 @@
 	status = "okay";
 };
 
+&ftm0 {
+	status = "okay";
+};
+
 &i2c0 {
 	status = "okay";
 
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 4ad30d0..707850f 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -335,6 +335,14 @@
 			status = "disabled";
 		};
 
+		ftm0: ftm0@29d0000 {
+			compatible = "fsl,ftm-alarm";
+			reg = <0x0 0x29d0000 0x0 0x10000>;
+			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
+			big-endian;
+			status = "disabled";
+		};
+
 		wdog0: watchdog@2ad0000 {
 			compatible = "fsl,imx21-wdt";
 			reg = <0x0 0x2ad0000 0x0 0x10000>;
-- 
2.1.0.27.g96db324


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

* Re: [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a
  2015-07-06  2:38 [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a Alison Wang
@ 2015-07-14  2:53 ` Shawn Guo
  2015-07-14  9:52   ` Huan Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2015-07-14  2:53 UTC (permalink / raw)
  To: Alison Wang
  Cc: shawn.guo, jason.jin, linux-arm-kernel, linux-kernel, Wang Dongsheng

On Mon, Jul 06, 2015 at 10:38:39AM +0800, Alison Wang wrote:
> From: Wang Dongsheng <dongsheng.wang@freescale.com>
> 
> Add ftm0 node, cause of ftm0 can be set as a alarm before system
> going to deep sleep.
> 
> Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>

Since you're forwarding the patch, you should add your SoB.  Also, for
sake of consistency, please use "ARM: " as subject prefix for all
patches sent to me.

Shawn

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

* RE: [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a
  2015-07-14  2:53 ` Shawn Guo
@ 2015-07-14  9:52   ` Huan Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Huan Wang @ 2015-07-14  9:52 UTC (permalink / raw)
  To: Shawn Guo
  Cc: shawn.guo, Jin Jason, linux-arm-kernel, linux-kernel, Wang Dongsheng

Shawn,

> On Mon, Jul 06, 2015 at 10:38:39AM +0800, Alison Wang wrote:
> > From: Wang Dongsheng <dongsheng.wang@freescale.com>
> >
> > Add ftm0 node, cause of ftm0 can be set as a alarm before system
> going
> > to deep sleep.
> >
> > Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
> 
> Since you're forwarding the patch, you should add your SoB.  Also, for
> sake of consistency, please use "ARM: " as subject prefix for all
> patches sent to me.
> 
[Alison Wang] Ok. I will change in v2.

Thanks.


Best Regards,
Alison Wang

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

end of thread, other threads:[~2015-07-14  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06  2:38 [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a Alison Wang
2015-07-14  2:53 ` Shawn Guo
2015-07-14  9:52   ` Huan Wang

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).