diff mbox series

ARM: dts: imx6-logicpd: Re-enable SNVS power key

Message ID 20191016144005.9863-1-aford173@gmail.com (mailing list archive)
State Mainlined
Commit cabe5f85e63626c00f3b879a670ec27325056a2d
Headers show
Series ARM: dts: imx6-logicpd: Re-enable SNVS power key | expand

Commit Message

Adam Ford Oct. 16, 2019, 2:40 p.m. UTC
The baseboard of the Logic PD i.MX6 development kit has a power
button routed which can both power down and power up the board.
It can also wake the board from sleep.  This functionality was
marked as disabled by default in imx6qdl.dtsi, so it needs to
be explicitly enabled for each board.

This patch enables the snvs power key again.
Fixes: 770856f0da5d ("ARM: dts: imx6qdl: Enable SNVS power key according to board design")

Cc: stable <stable@vger.kernel.org> #5.3+
Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Shawn Guo Oct. 28, 2019, 2:18 a.m. UTC | #1
On Wed, Oct 16, 2019 at 09:40:05AM -0500, Adam Ford wrote:
> The baseboard of the Logic PD i.MX6 development kit has a power
> button routed which can both power down and power up the board.
> It can also wake the board from sleep.  This functionality was
> marked as disabled by default in imx6qdl.dtsi, so it needs to
> be explicitly enabled for each board.
> 
> This patch enables the snvs power key again.
> Fixes: 770856f0da5d ("ARM: dts: imx6qdl: Enable SNVS power key according to board design")

So this is fixing powerkey, while the previous fix on som was actually
about poweroff.  I was confused.

> 
> Cc: stable <stable@vger.kernel.org> #5.3+
> Signed-off-by: Adam Ford <aford173@gmail.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
index 2a6ce87071f9..9e027b9a5f91 100644
--- a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
+++ b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
@@ -328,6 +328,10 @@ 
 	pinctrl-0 = <&pinctrl_pwm3>;
 };
 
+&snvs_pwrkey {
+	status = "okay";
+};
+
 &ssi2 {
 	status = "okay";
 };