summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra210_ahub.h
diff options
context:
space:
mode:
authorMohan Kumar <mkumard@nvidia.com>2022-01-28 15:37:52 +0300
committerMark Brown <broonie@kernel.org>2022-01-28 16:05:26 +0300
commit4fcc8710fdd91b37760ccd99bbfbe10352df7600 (patch)
tree72ba315d8d18f8260cd85e2abb1404172915f48b /sound/soc/tegra/tegra210_ahub.h
parentacfa1e2c2ff5cd7fb7948b0c5c2057acd9dceb14 (diff)
downloadlinux-4fcc8710fdd91b37760ccd99bbfbe10352df7600.tar.xz
ASoC: tegra: Update AHUB driver for Tegra234
The register offsets of switches connecting various AHUB internal modules have changed from previous chip. Address this variation by making use of Tegra234 based compatible. Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1643373476-8538-2-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra210_ahub.h')
-rw-r--r--sound/soc/tegra/tegra210_ahub.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra210_ahub.h b/sound/soc/tegra/tegra210_ahub.h
index 47802bbe17a9..2728db4d24f2 100644
--- a/sound/soc/tegra/tegra210_ahub.h
+++ b/sound/soc/tegra/tegra210_ahub.h
@@ -2,7 +2,7 @@
/*
* tegra210_ahub.h - TEGRA210 AHUB
*
- * Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
*
*/
@@ -74,6 +74,8 @@
tegra_ahub_get_value_enum, \
tegra_ahub_put_value_enum)
+#define MUX_ENUM_CTRL_DECL_234(ename, id) MUX_ENUM_CTRL_DECL_186(ename, id)
+
#define WIDGETS(sname, ename) \
SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \
SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0), \