[PATCH 2/2] arm64: tegra: Make the NVDEC power domain a subdomain of NVJPG on Tegra210
From: Mikko Perttunen
Date: Thu Oct 15 2026 - 06:12:58 EST
According to the TRM, on Tegra210 the NVDEC unit is split into the NVJPG
and NVDEC power domains, and the NVJPG domain has to be powered on
whenever the NVDEC domain is powered on.
Fix this by modeling the NVDEC domain as a subdomain of NVJPG. This
fixes the system resetting when attempting to boot NVDEC.
This commit also requires a change to the PMC driver:
"soc/tegra: pmc: Support nested PMC power domains".
Without it, the PMC driver fails to find the parent while still
registering powergates and defers its probe indefinitely.
Fixes: 961e69a5dc78 ("arm64: tegra: Enable NVDEC and NVENC on Tegra210")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Mikko Perttunen <mperttunen@xxxxxxxxxx>
---
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi
index 49d22506b7b7..08e14bcc9367 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi
@@ -935,6 +935,7 @@ pd_nvenc: mpe {
pd_nvdec: nvdec {
clocks = <&tegra_car TEGRA210_CLK_NVDEC>;
resets = <&tegra_car 194>;
+ power-domains = <&pd_nvjpg>;
#power-domain-cells = <0>;
};
--
2.55.0