return back the modification
[tas256xsw-android/tas2563-android-driver.git] / dai_link.readme
1 example for connecting CPU DAI
3 #if defined(CONFIG_TAS2563_CODEC)
4         {
5                 .name = LPASS_BE_PRI_MI2S_RX,
6                 .stream_name = "Primary MI2S Hostless Playback",
7                 .cpu_dai_name = "msm-dai-q6-mi2s.0",
8                 .platform_name = "msm-pcm-routing",
9                 .codec_name     = "tas2563.3-0041",
10                 .codec_dai_name = "tas2563 ASI1",
11                 .no_pcm = 1,
12                 .be_id = MSM_BACKEND_DAI_PRI_MI2S_RX,
13                 .be_hw_params_fixup = msm_be_prim_mi2s_hw_params_fixup,
14                 .ops = &msm8974_prim_mi2s_be_ops,
15         },
16         {
17                 .name = LPASS_BE_PRI_MI2S_TX,
18                 .stream_name = "Primary MI2S Hostless Capture",
19                 .cpu_dai_name = "msm-dai-q6-mi2s.0",
20                 .platform_name = "msm-pcm-routing",
21                 .codec_name     = "tas2563.3-0041",
22                 .codec_dai_name = "tas2563 ASI1",
23                 .no_pcm = 1,
24                 .be_id = MSM_BACKEND_DAI_PRI_MI2S_TX,
25                 .be_hw_params_fixup = msm_be_prim_mi2s_hw_params_fixup,
26                 .ops = &msm8974_prim_mi2s_be_ops,
27         },
28 #endif