Skip to content

imx: Fix power-up on RTC alarm

Guy Shapiro linux-arm-kernel linux-devicetree linux-pm linux-rtc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2power: reset: syscon-poweroff: add a mask propertyDocumentation/devicetree/bindings/power/reset/syscon-poweroff.txt drivers/power/reset/syscon-poweroff.c+25 -52 replies
2/2ARM: dts: imx: update snvs-poweroff maskarch/arm/boot/dts/imx6qdl.dtsi arch/arm/boot/dts/imx6sl.dtsi arch/arm/boot/dts/imx6sx.dtsi +2 more+5 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] imx: Fix power-up on RTC alarm

Currently, the syscon-poweroff driver cleans the alarm enable bit during power off. This behaviour makes it impossible to wake up the device using the RTC.

The first patch adds a mask option to the syscon-poweroff driver. It uses the method suggested by Sebastian Reichel [0] to maintain compatibility with the old binding.

The second patch update the device trees for the snvs component users. Although I believe this should work on all the modified devices, I had only imx6ul to test with.

Making the wake-up alarm work may require applying another patch [1], already accepted to the rtc-snvs driver.

Thanks,
Guy.

[0] http://www.spinics.net/lists/devicetree/msg161527.html
[1] https://patchwork.ozlabs.org/patch/721155/

Guy Shapiro (2):
power: reset: syscon-poweroff: add a mask property
ARM: dts: imx: update snvs-poweroff mask

 .../bindings/power/reset/syscon-poweroff.txt          | 11 +++++++++--
 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 +
 drivers/power/reset/syscon-poweroff.c                 | 19 ++++++++++++++++---
 7 files changed, 30 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.4