Skip to content

Commit c8609f3

Browse files
jbrun3tbroonie
authored andcommitted
ASoC: meson: add g12a tohdmitx control
Add support for the hdmitx control glue of the Amlogic g12a SoC family. This glue links the 3 TDM and 2 SPDIF output interfaces of the SoC to the related inputs of the Synopsys HDMI controller found in these SoCs. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Tested-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0a8f111 commit c8609f3

File tree

3 files changed

+423
-0
lines changed

3 files changed

+423
-0
lines changed

sound/soc/meson/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ config SND_MESON_AXG_SOUND_CARD
5656
imply SND_MESON_AXG_SPDIFOUT
5757
imply SND_MESON_AXG_SPDIFIN
5858
imply SND_MESON_AXG_PDM
59+
imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
5960
help
6061
Select Y or M to add support for the AXG SoC sound card
6162

@@ -82,4 +83,11 @@ config SND_MESON_AXG_PDM
8283
help
8384
Select Y or M to add support for PDM input embedded
8485
in the Amlogic AXG SoC family
86+
87+
config SND_MESON_G12A_TOHDMITX
88+
tristate "Amlogic G12A To HDMI TX Control Support"
89+
imply SND_SOC_HDMI_CODEC
90+
help
91+
Select Y or M to add support for HDMI audio on the g12a SoC
92+
family
8593
endmenu

sound/soc/meson/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ snd-soc-meson-axg-sound-card-objs := axg-card.o
1111
snd-soc-meson-axg-spdifin-objs := axg-spdifin.o
1212
snd-soc-meson-axg-spdifout-objs := axg-spdifout.o
1313
snd-soc-meson-axg-pdm-objs := axg-pdm.o
14+
snd-soc-meson-g12a-tohdmitx-objs := g12a-tohdmitx.o
1415

1516
obj-$(CONFIG_SND_MESON_AXG_FIFO) += snd-soc-meson-axg-fifo.o
1617
obj-$(CONFIG_SND_MESON_AXG_FRDDR) += snd-soc-meson-axg-frddr.o
@@ -23,3 +24,4 @@ obj-$(CONFIG_SND_MESON_AXG_SOUND_CARD) += snd-soc-meson-axg-sound-card.o
2324
obj-$(CONFIG_SND_MESON_AXG_SPDIFIN) += snd-soc-meson-axg-spdifin.o
2425
obj-$(CONFIG_SND_MESON_AXG_SPDIFOUT) += snd-soc-meson-axg-spdifout.o
2526
obj-$(CONFIG_SND_MESON_AXG_PDM) += snd-soc-meson-axg-pdm.o
27+
obj-$(CONFIG_SND_MESON_G12A_TOHDMITX) += snd-soc-meson-g12a-tohdmitx.o

0 commit comments

Comments
 (0)