diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-09-14 13:15:27 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:53:09 +0800 |
commit | ace16c55c8bfeb4ca6f1f1164e48ae3b4d82ea46 (patch) | |
tree | 022842d80779f3be7dd8205d50e78b6b3de1f903 /sound/soc/fsl/fsl_rpmsg_i2s.h | |
parent | 1744cad4ec1d9ca6a0da2fcfa8dbb23d3f43c430 (diff) |
MLK-19581-3: ASoC: fsl_rpmsg_i2s: support multipul rate and DSD format
The Ak4497 support large range rate and DSD format, so increase
the supported scope of cpu dai.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 29155a9161bfb9985918ed9130aebafc2293c734)
Diffstat (limited to 'sound/soc/fsl/fsl_rpmsg_i2s.h')
-rw-r--r-- | sound/soc/fsl/fsl_rpmsg_i2s.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_rpmsg_i2s.h b/sound/soc/fsl/fsl_rpmsg_i2s.h index e52c861c4d43..36d6c5f51360 100644 --- a/sound/soc/fsl/fsl_rpmsg_i2s.h +++ b/sound/soc/fsl/fsl_rpmsg_i2s.h @@ -330,6 +330,9 @@ #define RPMSG_S16_LE 0x0 #define RPMSG_S24_LE 0x1 #define RPMSG_S32_LE 0x2 +#define RPMSG_DSD_U16_LE 0x3 +#define RPMSG_DSD_U24_LE 0x4 +#define RPMSG_DSD_U32_LE 0x5 #define RPMSG_CH_LEFT 0x0 #define RPMSG_CH_RIGHT 0x1 @@ -410,8 +413,10 @@ struct fsl_rpmsg_i2s { struct platform_device *pdev; struct i2s_info i2s_info; struct pm_qos_request pm_qos_req; + int codec_dummy; int codec_wm8960; int codec_cs42888; + int codec_ak4497; int force_lpa; int version; int rates; @@ -421,6 +426,7 @@ struct fsl_rpmsg_i2s { #define RPMSG_CODEC_DRV_NAME_WM8960 "rpmsg-audio-codec-wm8960" #define RPMSG_CODEC_DRV_NAME_CS42888 "rpmsg-audio-codec-cs42888" +#define RPMSG_CODEC_DRV_NAME_AK4497 "rpmsg-audio-codec-ak4497" struct fsl_rpmsg_codec { int audioindex; |