summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/Kconfig
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2020-02-13 16:51:52 +0100
committerMark Brown <broonie@kernel.org>2020-02-13 21:57:20 +0100
commit9c29fd9bdf92900dc0cc5c2d8f58951a7bdc0f41 (patch)
treefa691e59699a2962ad6934913c2f4367e488c9bc /sound/soc/meson/Kconfig
parentASoC: core: allow a dt node to provide several components (diff)
downloadlinux-9c29fd9bdf92900dc0cc5c2d8f58951a7bdc0f41.tar.xz
linux-9c29fd9bdf92900dc0cc5c2d8f58951a7bdc0f41.zip
ASoC: meson: g12a: extract codec-to-codec utils
The hdmi routing mechanism used on g12a hdmi is also used: * other Amlogic SoC types * for the internal DAC path Each of these codec glues are slightly different but the idea behind it remains the same. This change extract some helper functions from the g12a-tohdmitx driver to make them available for other Amlogic codecs. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20200213155159.3235792-3-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 2e3676147cea..ee6d53949d45 100644
--- a/sound/soc/meson/Kconfig
+++ b/sound/soc/meson/Kconfig
@@ -85,9 +85,13 @@ config SND_MESON_AXG_PDM
Select Y or M to add support for PDM input embedded
in the Amlogic AXG SoC family
+config SND_MESON_CODEC_GLUE
+ tristate
+
config SND_MESON_G12A_TOHDMITX
tristate "Amlogic G12A To HDMI TX Control Support"
select REGMAP_MMIO
+ select SND_MESON_CODEC_GLUE
imply SND_SOC_HDMI_CODEC
help
Select Y or M to add support for HDMI audio on the g12a SoC