Skip to content

Commit

Permalink
ASoC: meson: add axg pdm input
Browse files Browse the repository at this point in the history
Add pdm input driver for the device found on the amlogic AXG SoC family

Signed-off-by: Jerome Brunet <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
jbrun3t authored and broonie committed Aug 29, 2018
1 parent 5cc3f8f commit 2cfc123
Show file tree
Hide file tree
Showing 3 changed files with 665 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sound/soc/meson/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ config SND_MESON_AXG_SOUND_CARD
imply SND_MESON_AXG_TDMIN
imply SND_MESON_AXG_TDMOUT
imply SND_MESON_AXG_SPDIFOUT
imply SND_MESON_AXG_PDM
help
Select Y or M to add support for the AXG SoC sound card

Expand All @@ -66,4 +67,12 @@ config SND_MESON_AXG_SPDIFOUT
Select Y or M to add support for SPDIF output serializer embedded
in the Amlogic AXG SoC family

config SND_MESON_AXG_PDM
tristate "Amlogic AXG PDM Input Support"
imply SND_SOC_DMIC
imply COMMON_CLK_AXG_AUDIO
help
Select Y or M to add support for PDM input embedded
in the Amlogic AXG SoC family

endmenu
2 changes: 2 additions & 0 deletions sound/soc/meson/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ 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
snd-soc-meson-axg-pdm-objs := axg-pdm.o

obj-$(CONFIG_SND_MESON_AXG_FIFO) += snd-soc-meson-axg-fifo.o
obj-$(CONFIG_SND_MESON_AXG_FRDDR) += snd-soc-meson-axg-frddr.o
Expand All @@ -19,3 +20,4 @@ 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
obj-$(CONFIG_SND_MESON_AXG_PDM) += snd-soc-meson-axg-pdm.o
Loading

0 comments on commit 2cfc123

Please sign in to comment.