summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/Kconfig
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-07-17 17:42:59 +0200
committerMark Brown <broonie@kernel.org>2018-07-20 17:38:33 +0100
commitd60e4f1e4be5e2dfb55fb084b119aed094227a35 (patch)
tree6309b26c3f67cd264e500ccd109b383e50a098d4 /sound/soc/meson/Kconfig
parent1a11d88f499ceb69e9b4098ddc36866820335a54 (diff)
downloadlinux-d60e4f1e4be5e2dfb55fb084b119aed094227a35.tar.gz
linux-d60e4f1e4be5e2dfb55fb084b119aed094227a35.tar.bz2
linux-d60e4f1e4be5e2dfb55fb084b119aed094227a35.zip
ASoC: meson: add tdm interface driver
Add Amlogic's axg TDM interface driver. This driver manages the format and clocks provided on the pads. On this SoC, each stream direction provides 4 serial lanes. This makes a maximum of 8 channels in i2s modes and 128 channels in DSP modes. While each lanes operate on the same slot number (same bit clock), they may have different TDM masks. This requires to provide a function to let the card set the 4 masks, in lieu of the usual set_tdm_slots() callback of the dai driver. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/Kconfig')
-rw-r--r--sound/soc/meson/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/meson/Kconfig b/sound/soc/meson/Kconfig
index 80a88689491f..869b359c2ce7 100644
--- a/sound/soc/meson/Kconfig
+++ b/sound/soc/meson/Kconfig
@@ -23,6 +23,10 @@ config SND_MESON_AXG_TDM_FORMATTER
tristate
select REGMAP_MMIO
+config SND_MESON_AXG_TDM_INTERFACE
+ tristate
+ select SND_MESON_AXG_TDM_FORMATTER
+
config SND_MESON_AXG_SPDIFOUT
tristate "Amlogic AXG SPDIF Output Support"
imply SND_SOC_SPDIF