Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1879680ybz; Sun, 26 Apr 2020 06:19:52 -0700 (PDT) X-Google-Smtp-Source: APiQypKp/mNefa6bw+MMYN9/ldP659qr+2hKysVw5xqvbYrCbCeOoHYLxGLfv3lA1KdSySxXMrdf X-Received: by 2002:a17:906:ce49:: with SMTP id se9mr12166961ejb.345.1587907192360; Sun, 26 Apr 2020 06:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587907192; cv=none; d=google.com; s=arc-20160816; b=P9IToCIRNAKfPHnjbiw+s+lyGI8uER+eft1mEdxax/ASDrOa6fnOdQbNG7RePf0OE/ 63k3wUKDMaRxddz0XN0tsMLSjx/AY+VTU9CxOUCyHlXzCrAtGAIgHrCJI1cqAOIwPjEq 0ldqu0Cz2q8qM/IeeUAB2Ttg09A/AIeszEBXShmT/TmQdq3iamhh8cdxQjESHVGw9sK6 pnFnRsJeEFcVBbDKM3SOgcN8pwjMI5fG2gqr6po/MrA6H+HFyIVN7moxJOEJ3RP6lP5r sJogML+XpKPX+SfyfwjEtMxcQ3tsGFchvhheRoMBTSX3fqvaqqw10dVGmruJFCcBOwm4 Xk/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Q883W93RcJJKtsbzijr4Yqz60FtzG7MNSMVY9mGQCx8=; b=MQ+kvSFna9QkHRAGBzzLJajBrSxFi0sVkSjshct/bOYvzfy1bzaRuZi3givW8y0B1n HYTYPv5dv+U5rRDxUq66oMeAqc3mwlW6gcqgaqTXRtlgjax9w4des9PcfF787kAtjslV Z0Gd7kBTBpwv+AZiuBF2Aby8KgCqjE0CHQf83hzsFSdNf5Uox5+rpV2SneOVdKur3JTV OCwrZIeRftExczFIlKJB8+J99hOqKbCkz2+dZfrqbJxCn7fqNhKBHbnp3zeBuDeli0hu Bog4jDI2ZSZ+YQhR2UaIrrUddWl++l8/TtElf99XcSVfref1Htz5w/prDzA4gWTPvv3D RA5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QMR3MQIH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rv23si6675542ejb.330.2020.04.26.06.19.28; Sun, 26 Apr 2020 06:19:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QMR3MQIH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbgDZNSF (ORCPT + 99 others); Sun, 26 Apr 2020 09:18:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:48904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbgDZNSF (ORCPT ); Sun, 26 Apr 2020 09:18:05 -0400 Received: from dragon (unknown [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B40ED206DD; Sun, 26 Apr 2020 13:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587907085; bh=dbrvMbw0yBV6vd0nF3Z2AMV57GmqXYSvMJdB4275+vU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QMR3MQIHF6dK4ei7QVQHSHZ2QphBskic6IltyczOPCPVO3XOf6zbqnUfkBseVwVDq n8cNhh/rAUuC0eNiJqCDCXSLHyCl5jovOAN/s1bI+lxKSZGAvi0nstgy7Z2o9khbeR b+xrg/ZcDzN/zirRnqiQ96HRxnHGzgilVzzQMPRA= Date: Sun, 26 Apr 2020 21:17:52 +0800 From: Shawn Guo To: Biwen Li Cc: ran.wang_1@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jiafei.pan@nxp.com, Biwen Li Subject: Re: [RESEND 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node Message-ID: <20200426131751.GC30501@dragon> References: <20200407064251.39244-1-biwen.li@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200407064251.39244-1-biwen.li@oss.nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 07, 2020 at 02:42:48PM +0800, Biwen Li wrote: > From: Biwen Li > > The patch adds ftm_alarm0 DT node for Soc LX2160A > FlexTimer1 module is used to wakeup the system in deep sleep > > Signed-off-by: Biwen Li > --- > arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > index e5ee5591e52b..e0d8d68ce070 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > @@ -16,6 +16,10 @@ > #address-cells = <2>; > #size-cells = <2>; > > + aliases { > + rtc1 = &ftm_alarm0; > + }; > + > cpus { > #address-cells = <1>; > #size-cells = <0>; > @@ -768,6 +772,20 @@ > timeout-sec = <30>; > }; > > + rcpm: rcpm@1e34040 { Keep the node sort in unit-address. Also, try to use a generic node name. Shawn > + compatible = "fsl,lx2160a-rcpm", "fsl,qoriq-rcpm-2.1+"; > + reg = <0x0 0x1e34040 0x0 0x1c>; > + #fsl,rcpm-wakeup-cells = <7>; > + little-endian; > + }; > + > + ftm_alarm0: timer@2800000 { > + compatible = "fsl,lx2160a-ftm-alarm"; > + reg = <0x0 0x2800000 0x0 0x10000>; > + fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>; > + interrupts = <0 44 4>; IRQ_TYPE_LEVEL_HIGH Shawn > + }; > + > usb0: usb@3100000 { > compatible = "snps,dwc3"; > reg = <0x0 0x3100000 0x0 0x10000>; > -- > 2.17.1 >