Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754952AbbG1BuB (ORCPT ); Mon, 27 Jul 2015 21:50:01 -0400 Received: from mail.kernel.org ([198.145.29.136]:59795 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754512AbbG1BuA (ORCPT ); Mon, 27 Jul 2015 21:50:00 -0400 Date: Tue, 28 Jul 2015 09:49:46 +0800 From: Shawn Guo To: Alison Wang Cc: shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Wang Dongsheng , Alison Wang Subject: Re: [PATCH v2] ARM: dts: ls1021a: add wakeup device ftm0 node for ls1021a Message-ID: <20150728014946.GY12927@tiger> References: <1436946011-30113-1-git-send-email-b18965@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436946011-30113-1-git-send-email-b18965@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1998 Lines: 73 On Wed, Jul 15, 2015 at 03:40:11PM +0800, Alison Wang wrote: > Add ftm0 node, cause of ftm0 can be set as a alarm before system > going to deep sleep. > > Signed-off-by: Wang Dongsheng > Signed-off-by: Alison Wang > --- > Changes since v1: > - Add my SoB. > - Use "ARM:" as subject prefix. > > 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 9c5e16b..f14731b 100644 > --- a/arch/arm/boot/dts/ls1021a-qds.dts > +++ b/arch/arm/boot/dts/ls1021a-qds.dts > @@ -75,6 +75,10 @@ > }; > }; > > +&ftm0 { > + status = "okay"; > +}; > + > &i2c0 { > status = "okay"; > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi > index c70bb27..7e9e122 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -332,6 +332,14 @@ > status = "disabled"; > }; > > + ftm0: ftm0@29d0000 { Is the '0' in the node name is an instance number? If so, please drop it from node name. ftm0: ftm@29d0000 { > + compatible = "fsl,ftm-alarm"; Undocumented compatible string. Shawn > + reg = <0x0 0x29d0000 0x0 0x10000>; > + interrupts = ; > + big-endian; > + status = "disabled"; > + }; > + > wdog0: watchdog@2ad0000 { > compatible = "fsl,imx21-wdt"; > reg = <0x0 0x2ad0000 0x0 0x10000>; > -- > 2.1.0.27.g96db324 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/