linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] ARM: dts: imx6qdl: Enable SNVS power key according to board design
@ 2019-06-13  3:35 Anson.Huang
  2019-06-13  3:35 ` [PATCH 2/6] ARM: dts: imx6sx: " Anson.Huang
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Anson.Huang @ 2019-06-13  3:35 UTC (permalink / raw)
  To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: Linux-imx

From: Anson Huang <Anson.Huang@nxp.com>

The SNVS power key depends on board design, by default it should
be disabled in SoC DT and ONLY be enabled on board DT if it is
wired up.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 4 ++++
 arch/arm/boot/dts/imx6qdl.dtsi         | 1 +
 2 files changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 11103a4..71ca76a 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -761,6 +761,10 @@
 	status = "okay";
 };
 
+&snvs_pwrkey {
+	status = "okay";
+};
+
 &ssi2 {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 929fc7d..4b80193 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -841,6 +841,7 @@
 					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
 					linux,keycode = <KEY_POWER>;
 					wakeup-source;
+					status = "disabled";
 				};
 
 				snvs_lpgpr: snvs-lpgpr {
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-06-18  7:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13  3:35 [PATCH 1/6] ARM: dts: imx6qdl: Enable SNVS power key according to board design Anson.Huang
2019-06-13  3:35 ` [PATCH 2/6] ARM: dts: imx6sx: " Anson.Huang
2019-06-13  3:35 ` [PATCH 3/6] ARM: dts: imx6ul: " Anson.Huang
2019-06-13  3:35 ` [PATCH 4/6] ARM: dts: imx6sll: " Anson.Huang
2019-06-13  3:35 ` [PATCH 5/6] ARM: dts: imx7s: " Anson.Huang
2019-06-13  3:35 ` [PATCH 6/6] ARM: dts: imx6sll: Enable SNVS poweroff " Anson.Huang
2019-06-18  7:15 ` [PATCH 1/6] ARM: dts: imx6qdl: Enable SNVS power key " 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).