From: Mikko Perttunen <mperttunen@nvidia.com>
To: Thierry Reding <thierry.reding@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Aaron Kling <webgeek1234@gmail.com>
Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Mikko Perttunen <mperttunen@nvidia.com>,
stable@vger.kernel.org
Subject: [PATCH 2/2] arm64: tegra: Make the NVDEC power domain a subdomain of NVJPG on Tegra210
Date: Thu, 15 Oct 2026 18:58:03 +0900 [thread overview]
Message-ID: <20261015-b4-t210-pd_nvdec-nesting-v1-2-39a36b622eac@nvidia.com> (raw)
In-Reply-To: <20261015-b4-t210-pd_nvdec-nesting-v1-0-39a36b622eac@nvidia.com>
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@vger.kernel.org
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
---
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
next prev parent reply other threads:[~2026-10-15 9:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 9:58 [PATCH 0/2] Fix NVDEC boot " Mikko Perttunen
2026-10-15 9:58 ` [PATCH 1/2] soc/tegra: pmc: Support nested PMC power domains Mikko Perttunen
2026-10-15 9:58 ` Mikko Perttunen [this message]
2026-10-27 6:54 ` [PATCH 0/2] Fix NVDEC boot on Tegra210 Karl Mehltretter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261015-b4-t210-pd_nvdec-nesting-v1-2-39a36b622eac@nvidia.com \
--to=mperttunen@nvidia.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=stable@vger.kernel.org \
--cc=thierry.reding@kernel.org \
--cc=webgeek1234@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®