]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: imx6ul: Enable SNVS power key according to board design
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Jun 2019 03:35:24 +0000 (11:35 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jun 2019 07:14:57 +0000 (15:14 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
arch/arm/boot/dts/imx6ul.dtsi

index 9207d5d071f11c334da9d9e4c6cc7b7566c4d279..cbe61b61a21201d31068ea1af7210306583f35c8 100644 (file)
        status = "okay";
 };
 
+&snvs_pwrkey {
+       status = "okay";
+};
+
 &tsc {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_tsc>;
index 91a0ced44e27c98b1761f6b11114a215d7aa4617..f62cedcf458a74f643c162e1ed9cc77f82096d29 100644 (file)
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
+                                       status = "disabled";
                                };
 
                                snvs_lpgpr: snvs-lpgpr {