ARM: dts: imx: update snvs-poweroff mask
Subsystems (2)
PATCH RESEND 1/1 ARM: dts: imx: update snvs-poweroff mask
From: Guy Shapiro <[email protected]>
Make the syscon-poweroff driver change only the shutdown bits on the SNVS_LP control register.
This change fixes an issue with the RTC wakeup alarm, that was previously disabled during power off.
---
Hi,
This is a resend of second patch from patch series [1]. First patch is already in v4.12, but this one was not applied.
Tested on imx6ul board. Without that patch RTC time is "frozen" during power-down state. With that patch RTC shows proper time after exiting from power-down.
[1] https://www.spinics.net/lists/arm-kernel/msg561152.html
arch/arm/boot/dts/imx6qdl.dtsi | 1 + arch/arm/boot/dts/imx6sl.dtsi | 1 + arch/arm/boot/dts/imx6sx.dtsi | 1 + arch/arm/boot/dts/imx6ul.dtsi | 1 + arch/arm/boot/dts/imx7s.dtsi | 1 + 5 files changed, 5 insertions(+)
arch/arm/boot/dts/imx6qdl.dtsi +1 -0
@@ -766,6 +766,7 @@ compatible = "syscon-poweroff"; regmap = <&snvs>; offset = <0x38>; + value = <0x60>; mask = <0x60>; status = "disabled"; };
arch/arm/boot/dts/imx6sl.dtsi +1 -0
@@ -652,6 +652,7 @@ compatible = "syscon-poweroff"; regmap = <&snvs>; offset = <0x38>; + value = <0x60>; mask = <0x60>; status = "disabled"; };
arch/arm/boot/dts/imx6sx.dtsi +1 -0
@@ -707,6 +707,7 @@ compatible = "syscon-poweroff"; regmap = <&snvs>; offset = <0x38>; + value = <0x60>; mask = <0x60>; status = "disabled"; };
arch/arm/boot/dts/imx6ul.dtsi +1 -0
@@ -613,6 +613,7 @@ compatible = "syscon-poweroff"; regmap = <&snvs>; offset = <0x38>; + value = <0x60>; mask = <0x60>; status = "disabled"; };
arch/arm/boot/dts/imx7s.dtsi +1 -0
@@ -535,6 +535,7 @@ compatible = "syscon-poweroff"; regmap = <&snvs>; offset = <0x38>; + value = <0x60>; mask = <0x60>; };
Signature · 1 line
2.13.2
Fabio Estevam
reviewerPATCH RESEND 1/1 ARM: dts: imx: update snvs-poweroff mask
Quoted 10 lines · Marcin Niestroj
From: Guy Shapiro <[email protected]>
Make the syscon-poweroff driver change only the shutdown bits on the
SNVS_LPcontrol register.This change fixes an issue with the RTC wakeup alarm, that was previously disabled during power off.
Signed-off-by Guy Shapiro <[email protected]>Reviewed-by Marcin Niestroj <[email protected]>
Shawn Guo
AppliedPATCH RESEND 1/1 ARM: dts: imx: update snvs-poweroff mask
In reply to Marcin NiestrojQuoted 10 lines · Marcin Niestroj
From: Guy Shapiro <[email protected]>
Make the syscon-poweroff driver change only the shutdown bits on the
SNVS_LPcontrol register.This change fixes an issue with the RTC wakeup alarm, that was previously disabled during power off.
Signed-off-by Guy Shapiro <[email protected]>Reviewed-by Marcin Niestroj <[email protected]>
Applied, thanks.