2020-09-16 08:28:14

by Ran Wang

[permalink] [raw]
Subject: [PATCH 4/5] arm: dts: ls1021a: fix flextimer failed to wake system

The data of property 'fsl,rcpm-wakeup' is not corrcet, which causing
RCPM driver incorrectly program register IPPDEXPCR1, then flextimer is
wrongly clock gated during system suspend, can't send interrupt to
wake.

Signed-off-by: Ran Wang <[email protected]>
---
arch/arm/boot/dts/ls1021a.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 089fe86..e372630f 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -1014,7 +1014,7 @@
compatible = "fsl,ls1021a-ftm-alarm";
reg = <0x0 0x29d0000 0x0 0x10000>;
reg-names = "ftm";
- fsl,rcpm-wakeup = <&rcpm 0x20000 0x0>;
+ fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
big-endian;
};
--
2.7.4


2020-09-22 00:23:04

by Leo Li

[permalink] [raw]
Subject: RE: [PATCH 4/5] arm: dts: ls1021a: fix flextimer failed to wake system



> -----Original Message-----
> From: Ran Wang <[email protected]>
> Sent: Wednesday, September 16, 2020 3:19 AM
> To: Leo Li <[email protected]>; Rob Herring <[email protected]>;
> Shawn Guo <[email protected]>
> Cc: [email protected]; [email protected];
> [email protected]; [email protected]; Ran Wang
> <[email protected]>
> Subject: [PATCH 4/5] arm: dts: ls1021a: fix flextimer failed to wake system
>
> The data of property 'fsl,rcpm-wakeup' is not corrcet, which causing RCPM
> driver incorrectly program register IPPDEXPCR1, then flextimer is wrongly
> clock gated during system suspend, can't send interrupt to wake.
>
> Signed-off-by: Ran Wang <[email protected]>

Acked-by: Li Yang <[email protected]>

> ---
> arch/arm/boot/dts/ls1021a.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
> index 089fe86..e372630f 100644
> --- a/arch/arm/boot/dts/ls1021a.dtsi
> +++ b/arch/arm/boot/dts/ls1021a.dtsi
> @@ -1014,7 +1014,7 @@
> compatible = "fsl,ls1021a-ftm-alarm";
> reg = <0x0 0x29d0000 0x0 0x10000>;
> reg-names = "ftm";
> - fsl,rcpm-wakeup = <&rcpm 0x20000 0x0>;
> + fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
> interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
> big-endian;
> };
> --
> 2.7.4