Commit 87a84c62 authored by Guy Shapiro's avatar Guy Shapiro Committed by Shawn Guo

ARM: dts: imx: update snvs-poweroff mask

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.
Signed-off-by: default avatarGuy Shapiro <guy.shapiro@mobi-wize.com>
Reviewed-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 28991457
...@@ -769,6 +769,7 @@ snvs_poweroff: snvs-poweroff { ...@@ -769,6 +769,7 @@ snvs_poweroff: snvs-poweroff {
compatible = "syscon-poweroff"; compatible = "syscon-poweroff";
regmap = <&snvs>; regmap = <&snvs>;
offset = <0x38>; offset = <0x38>;
value = <0x60>;
mask = <0x60>; mask = <0x60>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -655,6 +655,7 @@ snvs_poweroff: snvs-poweroff { ...@@ -655,6 +655,7 @@ snvs_poweroff: snvs-poweroff {
compatible = "syscon-poweroff"; compatible = "syscon-poweroff";
regmap = <&snvs>; regmap = <&snvs>;
offset = <0x38>; offset = <0x38>;
value = <0x60>;
mask = <0x60>; mask = <0x60>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -710,6 +710,7 @@ snvs_poweroff: snvs-poweroff { ...@@ -710,6 +710,7 @@ snvs_poweroff: snvs-poweroff {
compatible = "syscon-poweroff"; compatible = "syscon-poweroff";
regmap = <&snvs>; regmap = <&snvs>;
offset = <0x38>; offset = <0x38>;
value = <0x60>;
mask = <0x60>; mask = <0x60>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -614,6 +614,7 @@ snvs_poweroff: snvs-poweroff { ...@@ -614,6 +614,7 @@ snvs_poweroff: snvs-poweroff {
compatible = "syscon-poweroff"; compatible = "syscon-poweroff";
regmap = <&snvs>; regmap = <&snvs>;
offset = <0x38>; offset = <0x38>;
value = <0x60>;
mask = <0x60>; mask = <0x60>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -540,6 +540,7 @@ snvs_poweroff: snvs-poweroff { ...@@ -540,6 +540,7 @@ snvs_poweroff: snvs-poweroff {
compatible = "syscon-poweroff"; compatible = "syscon-poweroff";
regmap = <&snvs>; regmap = <&snvs>;
offset = <0x38>; offset = <0x38>;
value = <0x60>;
mask = <0x60>; mask = <0x60>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment