MLK-12675 ARM: dts: imx: keep RTC enabled for software poweroff
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 18 Apr 2016 10:00:11 +0000 (18:00 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:49 +0000 (14:51 -0500)
commit23c7df70a6f171a9df55ef25bbe563aefafdf9f1
treec864229e54fc5e618c50ef6d33c02225d3f07042
parent1a9b1c957aa72f75225f822a1ea5e62109835b05
MLK-12675 ARM: dts: imx: keep RTC enabled for software poweroff

SRTC needs to be kept enabled during system poweroff,
SNVS_LP control register bit 0 SRTC_ENV must be set
to enable RTC, for software poweroff, kernel just
read the register offset and value from dtb and write
to SNVS_LP control register to poweroff system, need
to make sure bit 0 SRTC_ENV is set to enable RTC during
system poweroff.

Previous setting did NOT enable it which will cause
RTC stop running if using software poweroff.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6sl.dtsi
arch/arm/boot/dts/imx6sx.dtsi
arch/arm/boot/dts/imx6ul.dtsi
arch/arm/boot/dts/imx6ull.dtsi
arch/arm/boot/dts/imx7s.dtsi