linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6-logicpd: Re-enable SNVS power key
@ 2019-10-16 14:40 Adam Ford
  2019-10-28  2:18 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2019-10-16 14:40 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: adam.ford, Adam Ford, stable, Rob Herring, Mark Rutland,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, devicetree, linux-kernel

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>

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";
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: imx6-logicpd: Re-enable SNVS power key
  2019-10-16 14:40 [PATCH] ARM: dts: imx6-logicpd: Re-enable SNVS power key Adam Ford
@ 2019-10-28  2:18 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-10-28  2:18 UTC (permalink / raw)
  To: Adam Ford
  Cc: linux-arm-kernel, adam.ford, stable, Rob Herring, Mark Rutland,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, devicetree, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-28  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-16 14:40 [PATCH] ARM: dts: imx6-logicpd: Re-enable SNVS power key Adam Ford
2019-10-28  2:18 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).