]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: tegra: Remove the Orin NX/Nano suspend key
authorNinad Malwade <nmalwade@nvidia.com>
Thu, 6 Feb 2025 22:40:34 +0000 (22:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:50:39 +0000 (07:50 +0200)
commite56acd53a91a1cfadbbff7b267a19ef19a89526e
treea1e4e38402415cf7a2ec5e5734d5ea5a8017a772
parent6f21dfc4fadbe7076b89aa2fcb275001af2fa566
arm64: tegra: Remove the Orin NX/Nano suspend key

[ Upstream commit bb8a3ad25f098b6ea9b1d0f522427b4ad53a7bba ]

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.
Having this unused pin mapped as the suspend key can lead to
unpredictable behavior for low power modes.

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 remove the "suspend" key.

Cc: stable@vger.kernel.org
Fixes: e63472eda5ea ("arm64: tegra: Support Jetson Orin NX reference platform")
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Signed-off-by: Ivy Huang <yijuh@nvidia.com>
Link: https://lore.kernel.org/r/20250206224034.3691397-1-yijuh@nvidia.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi