Skip to content
Permalink
Browse files
MLK-24930-1: sound: soc: fsl: imx pcm512x: iqaudio dac
ASoC machine sound driver for IQAudio PiDAC plus/pro
Rev3 for iMX SoC, high resolution codec supporting
upto 384khz sample rate on SAI; Include support for
Hifiberry audio hats that uses external oscillators for
dac system clock.

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit b52d3587cba2b3db60cf316430478969918fed7a)
  • Loading branch information
Adrian Alonso committed Nov 19, 2020
1 parent 21929af commit 8efc3af011c524745935866310f8ec44a37bf384
Show file tree
Hide file tree
Showing 3 changed files with 553 additions and 0 deletions.
@@ -604,6 +604,18 @@ config SND_SOC_IMX_XCVR
Say Y if you want to add support for SoC audio on an i.MX board with
an Audio Transceiver (XCVR).

config SND_SOC_IMX_PCM512X
tristate "SoC Audio support for i.MX boards with PCM512x"
depends on OF && I2C
select SND_SOC_PCM512x_I2C
select SND_SOC_IMX_PCM_DMA
select SND_SOC_FSL_SAI
select SND_SOC_FSL_UTILS
help
SoC Audio support for i.MX boards with pcm512x
Say Y if you want to add support for SoC audio on an i.MX board with
an pcm512x codec.

endif # SND_IMX_SOC

endmenu
@@ -106,6 +106,7 @@ snd-soc-imx-hdmi-objs := imx-hdmi.o
snd-soc-imx-cdnhdmi-objs := imx-cdnhdmi.o
snd-soc-imx-rpmsg-objs := imx-rpmsg.o
snd-soc-imx-xcvr-objs := imx-xcvr.o
snd-soc-imx-pcm512x-objs := imx-pcm512x.o

obj-$(CONFIG_SND_SOC_EUKREA_TLV320) += snd-soc-eukrea-tlv320.o
obj-$(CONFIG_SND_SOC_PHYCORE_AC97) += snd-soc-phycore-ac97.o
@@ -134,5 +135,6 @@ obj-$(CONFIG_SND_SOC_IMX_SI476X) += snd-soc-imx-si476x.o
obj-$(CONFIG_SND_SOC_IMX_HDMI) += snd-soc-imx-hdmi.o
obj-$(CONFIG_SND_SOC_IMX_CDNHDMI) += snd-soc-imx-cdnhdmi.o
obj-$(CONFIG_SND_SOC_IMX_XCVR) += snd-soc-imx-xcvr.o
obj-$(CONFIG_SND_SOC_IMX_PCM512X) += snd-soc-imx-pcm512x.o

AFLAGS_hdmi_pcm.o := -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp

0 comments on commit 8efc3af

Please sign in to comment.