From: Jon Hunter <jonathanh@nvidia.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: <linux-tegra@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] arm64: tegra: Enable audio IOMMU support on Tegra194
Date: Fri, 9 Jul 2021 13:08:26 +0100 [thread overview]
Message-ID: <dd36fb32-7131-b898-4e74-433895c92b35@nvidia.com> (raw)
In-Reply-To: <20210709120812.2529034-1-thierry.reding@gmail.com>
On 09/07/2021 13:08, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> 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.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> arch/arm64/boot/dts/nvidia/tegra194.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
> index a6e61d899a27..076d5efc4c3d 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
> @@ -2477,6 +2477,11 @@ sound {
> * 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 {
>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Thanks!
Jon
--
nvpublic
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-07-09 12:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-09 12:08 [PATCH] arm64: tegra: Enable audio IOMMU support on Tegra194 Thierry Reding
2021-07-09 12:08 ` Jon Hunter [this message]
2021-07-09 12:11 Thierry Reding
2021-07-09 12:11 ` Jon Hunter
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=dd36fb32-7131-b898-4e74-433895c92b35@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-tegra@vger.kernel.org \
--cc=thierry.reding@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;
as well as URLs for NNTP newsgroup(s).