From 6c69a54be58c4a82c60eab1e9211e15d8ca7c816 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Wed, 2 Aug 2023 15:15:54 +0800 Subject: [PATCH] t23x: overlay: Disable rail-gating for safety IGX This change disables GPU rail-gating as it's not a mandatory feature for safety IGX. The ideal approach for disabling GPU rail-gating should be deleting the `power-domains` property in GPU node. But the /delete-property/ is not a valid syntax in the device tree overlay, the `nvidia,tegra-joint_xpu_rail` is specified to achieve the same as an alternative. Bug 4084478 Signed-off-by: Yi-Wei Wang Change-Id: Ia186cc0bc18f5d1a216a511af3e5cc4588c07b21 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946710 Reviewed-by: Sagar Kamble Reviewed-by: svcacv Reviewed-by: Rajkumar Kasirajan Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- overlay/tegra234-p3740-0002+p3701-0008-safety.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/overlay/tegra234-p3740-0002+p3701-0008-safety.dts b/overlay/tegra234-p3740-0002+p3701-0008-safety.dts index 935c119..af6f713 100644 --- a/overlay/tegra234-p3740-0002+p3701-0008-safety.dts +++ b/overlay/tegra234-p3740-0002+p3701-0008-safety.dts @@ -30,6 +30,19 @@ }; }; }; + + chosen { + /* + * The ideal approach for disabling rail-gating + * for GPU should be deleting the power-domains + * property in GPU node. But /delete-property/ + * is not a valid syntax in the device tree + * overlay, the nvidia,tegra-joint_xpu_rail is + * specified to achieve the same as an + * alternative. + */ + nvidia,tegra-joint_xpu_rail; + }; }; };