diff options
author | Thierry Reding <treding@nvidia.com> | 2021-07-09 14:08:12 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-07-09 16:36:07 +0200 |
commit | 34e0fc345ae728cd974d9ee09832abf62cf054c6 (patch) | |
tree | c5c351e557c0608416132f590e26bd3429748bfc /arch/arm64 | |
parent | c7289b1c8a4e10bbbdb7097a71a90652beb767a1 (diff) | |
download | linux-stable-34e0fc345ae728cd974d9ee09832abf62cf054c6.tar.gz linux-stable-34e0fc345ae728cd974d9ee09832abf62cf054c6.tar.bz2 linux-stable-34e0fc345ae728cd974d9ee09832abf62cf054c6.zip |
arm64: tegra: Enable audio IOMMU support on Tegra194
Add iommus and interconnects properties to the sound device tree node on
Tegra194. This ensures that the correct SID is used for translation of
physical to I/O virtual addresses and that the path to system memory is
properly described, which in turn can impact the range of memory that
the device can address.
Fixes: c7289b1c8a4e ("arm64: tegra: Enable SMMU support on Tegra194")
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra194.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index b7d532841390..0e6eeb1a1c1a 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -2469,6 +2469,11 @@ * for 8x and 11.025x sample rate streams. */ assigned-clock-rates = <258000000>; + + interconnects = <&mc TEGRA194_MEMORY_CLIENT_APEDMAR &emc>, + <&mc TEGRA194_MEMORY_CLIENT_APEDMAW &emc>; + interconnect-names = "dma-mem", "write"; + iommus = <&smmu TEGRA194_SID_APE>; }; tcu: tcu { |