Skip to contentSkip to conversation

arm64: dts: imx8mm: Enable SNVS power key according to board design

PATCH Applied [email protected] 2 participants 2 messages Jun 13, 2019 – Jun 18, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm: Enable SNVS power key according to board design

From: Anson Huang <[email protected]>

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.

---
 arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mm.dtsi    | 1 +
 2 files changed, 5 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-evk.dts +4 -0
index f8ff0a4..594f158 100644
@@ -65,6 +65,10 @@
 	};
 };
 
+&snvs_pwrkey {
+	status = "okay";
+};
+
 &uart2 { /* console */
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart2>;
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1 -0
index 67ed1c5..232a741 100644
@@ -439,6 +439,7 @@
 					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
 					linux,keycode = <KEY_POWER>;
 					wakeup-source;
+					status = "disabled";
 				};
 			};
 
Signature · 7 lines
2.7.4


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel