public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Biwen Li <biwen.li@nxp•com>
To: leoyang.li@nxp•com, shawnguo@kernel•org, robh+dt@kernel•org,
	mark.rutland@arm•com
Cc: devicetree@vger•kernel.org, linuxppc-dev@lists•ozlabs.org,
	linux-kernel@vger•kernel.org,
	linux-arm-kernel@lists•infradead.org, Biwen Li <biwen.li@nxp•com>
Subject: [v2, 2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep
Date: Tue, 17 Sep 2019 12:41:18 +0800	[thread overview]
Message-ID: <20190917044119.21895-2-biwen.li@nxp.com> (raw)
In-Reply-To: <20190917044119.21895-1-biwen.li@nxp.com>

The patch fix a bug that FlexTimer cannot
wakeup system in deep sleep.

Signed-off-by: Biwen Li <biwen.li@nxp•com>
---
Change in v2:
	- None

 arch/arm/boot/dts/ls1021a.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index e3973b611c3a..377bb4717584 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -1000,12 +1000,13 @@
 			compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+";
 			reg = <0x0 0x1ee2140 0x0 0x8>;
 			#fsl,rcpm-wakeup-cells = <2>;
+			fsl,rcpm-scfg = <&scfg 0x0 0x51c>; /* SCFG_SPARECR8 */
 		};
 
 		ftm_alarm0: timer0@29d0000 {
 			compatible = "fsl,ls1021a-ftm-alarm";
 			reg = <0x0 0x29d0000 0x0 0x10000>;
-			fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
+			fsl,rcpm-wakeup = <&rcpm 0x0 0x30000000>; /* FlexTimer1 and OCRAM1 are not powerdown during LPM20(sleep) */
 			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
 			big-endian;
 		};
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-09-17  4:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-17  4:41 [v2, 1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A Biwen Li
2019-09-17  4:41 ` Biwen Li [this message]
2019-09-17  4:41 ` [v2, 3/3] Documentation: dt: binding: fsl: Add 'fsl, rcpm-scfg' property Biwen Li
2019-09-17  5:18 ` [v2,1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A Biwen Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190917044119.21895-2-biwen.li@nxp.com \
    --to=biwen.li@nxp$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=leoyang.li@nxp$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=shawnguo@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox