mirror of https://github.com/thesofproject/sof.git
topology: imx: Add topology file for i.MX8MP with wm8962 codec
Add new topology file for i.MX8MP with wm8962 codec. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
7550fb7e35
commit
ae0869fe2d
|
@ -169,6 +169,7 @@ set(TPLGS
|
|||
"sof-imx8mp-wm8960-kwd\;sof-imx8mp-wm8960-kwd"
|
||||
"sof-imx8mp-wm8960\;sof-imx8mp-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=volume"
|
||||
"sof-imx8mp-wm8960\;sof-imx8mp-wm8904\;-DCODEC=wm8904\;-DRATE=44100\;-DPPROC=volume"
|
||||
"sof-imx8mp-wm8960\;sof-imx8mp-wm8962\;-DCODEC=wm8962\;-DRATE=48000\;-DPPROC=volume"
|
||||
"sof-imx8mp-wm8960\;sof-imx8mp-eq-iir-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=eq-iir-volume"
|
||||
"sof-imx8mp-wm8960\;sof-imx8mp-eq-fir-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=eq-fir-volume"
|
||||
"sof-imx8mp-wm8960\;sof-imx8mp-drc-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=drc"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Topology for i.MX8MP board with `CODEC' codec
|
||||
#
|
||||
# CODEC: wm8960, wm8904
|
||||
# CODEC: wm8960, wm8904, wm8962
|
||||
#
|
||||
|
||||
# Include topology builder
|
||||
|
@ -54,6 +54,7 @@ PIPELINE_PCM_ADD(sof/pipe-volume-capture.m4,
|
|||
define(`STREAM_NAME',
|
||||
`ifelse(CODEC, `wm8960', `wm8960-hifi',
|
||||
CODEC, `wm8904', `wm8904-hifi',
|
||||
CODEC, `wm8962', `wm8962',
|
||||
`fatal_error(`Codec not supported.')')')
|
||||
|
||||
# define DAI BE dai_link name
|
||||
|
@ -98,4 +99,10 @@ ifelse(
|
|||
SAI_CLOCK(fsync, `RATE', codec_provider),
|
||||
SAI_TDM(2, 32, 3, 3),
|
||||
SAI_CONFIG_DATA(SAI, 3, 0)))',
|
||||
CODEC, `wm8962', `
|
||||
SAI_CONFIG(I2S, SAI_CLOCK(mclk, 12288000, codec_mclk_in),
|
||||
SAI_CLOCK(bclk, 3072000, codec_master),
|
||||
SAI_CLOCK(fsync, `RATE', codec_master),
|
||||
SAI_TDM(2, 32, 3, 3),
|
||||
SAI_CONFIG_DATA(SAI, 3, 0)))',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue