From cf027c2d7ccebd123678cdda33f4c4b8a8d3cea1 Mon Sep 17 00:00:00 2001 From: Ninad Malwade Date: Mon, 23 Sep 2024 18:12:54 +0800 Subject: [PATCH] t234: nv-platform: p3768: delete the suspend key As per the Orin Nano Dev Kit schematic, GPIO_G.02 is not available on this device family. It should not be used at all on Orin NX/Nano. Orin NX/Nano uses GPIO_EE.04 as both a "power" button and a "suspend" button. However, we cannot have two gpio-keys mapped to the same GPIO. Therefore delete the "suspend" key. Bug 4868022 Change-Id: Ib027748800e271ecf95bf644a803289d69abda2c Signed-off-by: Ninad Malwade Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216660 (cherry picked from commit 96abd28af57018fa1d45cf08c844efa72152dd63) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3262764 Reviewed-by: Brad Griffis Reviewed-by: Amulya Yarlagadda GVS: buildbot_gerritrpt Tested-by: Brad Griffis --- nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi b/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi index f2c048a..3f68f82 100644 --- a/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi +++ b/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi @@ -429,3 +429,5 @@ status = "okay"; }; }; + +/delete-node/ &{/gpio-keys/key-suspend};