]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: tegra: Add interconnect support
authorSheetal <sheetal@nvidia.com>
Mon, 3 Feb 2025 10:53:04 +0000 (10:53 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Feb 2025 14:03:44 +0000 (14:03 +0000)
commit4a91fe4c0d683c56044579fb263c660f5d18efac
treef2b9a44dd2edffb64f42d1201ae85de53c842f72
parent299ce4beaf714abe76e3ad106f2e745748f693e9
ASoC: tegra: Add interconnect support

Add interconnect framework support to set required audio bandwidth
based on PCM device usage. The maximum bandwidth is determined by
the number of APE PCM devices and maximum audio format supported.

If interconnect property is not defined or INTERCONNECT config
is not enabled then the audio usecase will still function.

Validate bandwidth updates by reading the interconnect summary sysfs
node during PCM device open and close operations.

Signed-off-by: Sheetal <sheetal@nvidia.com>
Link: https://patch.msgid.link/20250203105304.4155542-1-sheetal@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/Makefile
sound/soc/tegra/tegra210_admaif.c
sound/soc/tegra/tegra210_admaif.h
sound/soc/tegra/tegra_isomgr_bw.c [new file with mode: 0644]
sound/soc/tegra/tegra_isomgr_bw.h [new file with mode: 0644]