Skip to content

Commit 7864a79

Browse files
jbrun3tbroonie
authored andcommitted
ASoC: meson: add axg sound card support
Add the axg sound card to handle the specifities of the axg audio sub system. This card is required to: * setup the dpcm links specific to the AXG (with a cpu sound dai) * handle the 4 lanes masks of the tdm interfaces * add the loopback link when a tdm pad interface has a playback stream * handle multi-codec links Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2a05c71 commit 7864a79

File tree

3 files changed

+684
-0
lines changed

3 files changed

+684
-0
lines changed

sound/soc/meson/Kconfig

+11
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ config SND_MESON_AXG_TDMOUT
4343
Select Y or M to add support for TDM output formatter embedded
4444
in the Amlogic AXG SoC family
4545

46+
config SND_MESON_AXG_SOUND_CARD
47+
tristate "Amlogic AXG Sound Card Support"
48+
select SND_MESON_AXG_TDM_INTERFACE
49+
imply SND_MESON_AXG_FRDDR
50+
imply SND_MESON_AXG_TODDR
51+
imply SND_MESON_AXG_TDMIN
52+
imply SND_MESON_AXG_TDMOUT
53+
imply SND_MESON_AXG_SPDIFOUT
54+
help
55+
Select Y or M to add support for the AXG SoC sound card
56+
4657
config SND_MESON_AXG_SPDIFOUT
4758
tristate "Amlogic AXG SPDIF Output Support"
4859
imply SND_SOC_SPDIF

sound/soc/meson/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ snd-soc-meson-axg-tdm-formatter-objs := axg-tdm-formatter.o
77
snd-soc-meson-axg-tdm-interface-objs := axg-tdm-interface.o
88
snd-soc-meson-axg-tdmin-objs := axg-tdmin.o
99
snd-soc-meson-axg-tdmout-objs := axg-tdmout.o
10+
snd-soc-meson-axg-sound-card-objs := axg-card.o
1011
snd-soc-meson-axg-spdifout-objs := axg-spdifout.o
1112

1213
obj-$(CONFIG_SND_MESON_AXG_FIFO) += snd-soc-meson-axg-fifo.o
@@ -16,4 +17,5 @@ obj-$(CONFIG_SND_MESON_AXG_TDM_FORMATTER) += snd-soc-meson-axg-tdm-formatter.o
1617
obj-$(CONFIG_SND_MESON_AXG_TDM_INTERFACE) += snd-soc-meson-axg-tdm-interface.o
1718
obj-$(CONFIG_SND_MESON_AXG_TDMIN) += snd-soc-meson-axg-tdmin.o
1819
obj-$(CONFIG_SND_MESON_AXG_TDMOUT) += snd-soc-meson-axg-tdmout.o
20+
obj-$(CONFIG_SND_MESON_AXG_SOUND_CARD) += snd-soc-meson-axg-sound-card.o
1921
obj-$(CONFIG_SND_MESON_AXG_SPDIFOUT) += snd-soc-meson-axg-spdifout.o

0 commit comments

Comments
 (0)