You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
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>
This commit is contained in:
committed by
Mark Brown
parent
2a05c71ea1
commit
7864a79f37
@@ -43,6 +43,17 @@ config SND_MESON_AXG_TDMOUT
|
||||
Select Y or M to add support for TDM output formatter embedded
|
||||
in the Amlogic AXG SoC family
|
||||
|
||||
config SND_MESON_AXG_SOUND_CARD
|
||||
tristate "Amlogic AXG Sound Card Support"
|
||||
select SND_MESON_AXG_TDM_INTERFACE
|
||||
imply SND_MESON_AXG_FRDDR
|
||||
imply SND_MESON_AXG_TODDR
|
||||
imply SND_MESON_AXG_TDMIN
|
||||
imply SND_MESON_AXG_TDMOUT
|
||||
imply SND_MESON_AXG_SPDIFOUT
|
||||
help
|
||||
Select Y or M to add support for the AXG SoC sound card
|
||||
|
||||
config SND_MESON_AXG_SPDIFOUT
|
||||
tristate "Amlogic AXG SPDIF Output Support"
|
||||
imply SND_SOC_SPDIF
|
||||
|
||||
@@ -7,6 +7,7 @@ snd-soc-meson-axg-tdm-formatter-objs := axg-tdm-formatter.o
|
||||
snd-soc-meson-axg-tdm-interface-objs := axg-tdm-interface.o
|
||||
snd-soc-meson-axg-tdmin-objs := axg-tdmin.o
|
||||
snd-soc-meson-axg-tdmout-objs := axg-tdmout.o
|
||||
snd-soc-meson-axg-sound-card-objs := axg-card.o
|
||||
snd-soc-meson-axg-spdifout-objs := axg-spdifout.o
|
||||
|
||||
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
|
||||
obj-$(CONFIG_SND_MESON_AXG_TDM_INTERFACE) += snd-soc-meson-axg-tdm-interface.o
|
||||
obj-$(CONFIG_SND_MESON_AXG_TDMIN) += snd-soc-meson-axg-tdmin.o
|
||||
obj-$(CONFIG_SND_MESON_AXG_TDMOUT) += snd-soc-meson-axg-tdmout.o
|
||||
obj-$(CONFIG_SND_MESON_AXG_SOUND_CARD) += snd-soc-meson-axg-sound-card.o
|
||||
obj-$(CONFIG_SND_MESON_AXG_SPDIFOUT) += snd-soc-meson-axg-spdifout.o
|
||||
|
||||
671
sound/soc/meson/axg-card.c
Normal file
671
sound/soc/meson/axg-card.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user