arm64: tegra: Enable NVDEC and NVENC on Tegra210

The other engines are already enabled, finish filling out the media
engine nodes and power domains.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
This commit is contained in:
Aaron Kling
2025-08-14 15:09:38 -05:00
committed by Thomas Makin
parent 5de5a7b521
commit 77a33fa2f7

View File

@@ -283,13 +283,25 @@
nvdec@54480000 { nvdec@54480000 {
compatible = "nvidia,tegra210-nvdec"; compatible = "nvidia,tegra210-nvdec";
reg = <0x0 0x54480000 0x0 0x00040000>; reg = <0x0 0x54480000 0x0 0x00040000>;
status = "disabled"; clocks = <&tegra_car TEGRA210_CLK_NVDEC>;
clock-names = "nvdec";
resets = <&tegra_car 194>;
reset-names = "nvdec";
iommus = <&mc TEGRA_SWGROUP_NVDEC>;
power-domains = <&pd_nvdec>;
}; };
nvenc@544c0000 { nvenc@544c0000 {
compatible = "nvidia,tegra210-nvenc"; compatible = "nvidia,tegra210-nvenc";
reg = <0x0 0x544c0000 0x0 0x00040000>; reg = <0x0 0x544c0000 0x0 0x00040000>;
status = "disabled"; clocks = <&tegra_car TEGRA210_CLK_NVENC>;
clock-names = "nvenc";
resets = <&tegra_car 219>;
reset-names = "nvenc";
iommus = <&mc TEGRA_SWGROUP_NVENC>;
power-domains = <&pd_nvenc>;
}; };
tsec@54500000 { tsec@54500000 {
@@ -890,6 +902,18 @@
#power-domain-cells = <0>; #power-domain-cells = <0>;
}; };
pd_nvenc: mpe {
clocks = <&tegra_car TEGRA210_CLK_NVENC>;
resets = <&tegra_car 219>;
#power-domain-cells = <0>;
};
pd_nvdec: nvdec {
clocks = <&tegra_car TEGRA210_CLK_NVDEC>;
resets = <&tegra_car 194>;
#power-domain-cells = <0>;
};
pd_sor: sor { pd_sor: sor {
clocks = <&tegra_car TEGRA210_CLK_SOR0>, clocks = <&tegra_car TEGRA210_CLK_SOR0>,
<&tegra_car TEGRA210_CLK_SOR1>, <&tegra_car TEGRA210_CLK_SOR1>,