mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "ASoC: msm: add slot offset for QUAT and QUIN TDM"
This commit is contained in:
commit
3ca4cb7d68
1 changed files with 37 additions and 7 deletions
|
|
@ -410,7 +410,7 @@ static unsigned int tdm_rx_slot_offset
|
|||
{0xFFFF}, /* not used */
|
||||
},
|
||||
{/* QUAT TDM */
|
||||
{0xFFFF}, /* not used */
|
||||
{0, 4, 8, 12, 16, 20, 24, 28, 0xFFFF},/*AMP OUT*/
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
|
|
@ -420,10 +420,10 @@ static unsigned int tdm_rx_slot_offset
|
|||
{0xFFFF}, /* not used */
|
||||
},
|
||||
{/* QUIN TDM */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0, 4, 0xFFFF}, /* not used */
|
||||
{8, 12, 0xFFFF}, /* not used */
|
||||
{16, 20, 0xFFFF}, /* not used */
|
||||
{24, 28, 0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
|
|
@ -464,7 +464,8 @@ static unsigned int tdm_tx_slot_offset
|
|||
{0xFFFF}, /* not used */
|
||||
},
|
||||
{/* QUAT TDM */
|
||||
{0xFFFF}, /* not used */
|
||||
{0, 4, 8, 12, 16, 20, 24, 28,
|
||||
32, 36, 40, 44, 48, 52, 56, 60, 0xFFFF},/*MIC ARR*/
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
|
|
@ -474,7 +475,7 @@ static unsigned int tdm_tx_slot_offset
|
|||
{0xFFFF}, /* not used */
|
||||
},
|
||||
{/* QUIN TDM */
|
||||
{0xFFFF}, /* not used */
|
||||
{0, 4, 8, 12, 16, 20, 0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
{0xFFFF}, /* not used */
|
||||
|
|
@ -5987,6 +5988,35 @@ static struct snd_soc_dai_link msm_common_be_dai_links[] = {
|
|||
.ops = &sa6155_tdm_be_ops,
|
||||
.ignore_suspend = 1,
|
||||
},
|
||||
{
|
||||
.name = LPASS_BE_QUIN_TDM_RX_0,
|
||||
.stream_name = "Quinary TDM0 Playback",
|
||||
.cpu_dai_name = "msm-dai-q6-tdm.36928",
|
||||
.platform_name = "msm-pcm-routing",
|
||||
.codec_name = "msm-stub-codec.1",
|
||||
.codec_dai_name = "msm-stub-rx",
|
||||
.no_pcm = 1,
|
||||
.dpcm_playback = 1,
|
||||
.id = MSM_BACKEND_DAI_QUIN_TDM_RX_0,
|
||||
.be_hw_params_fixup = msm_tdm_be_hw_params_fixup,
|
||||
.ops = &sa6155_tdm_be_ops,
|
||||
.ignore_suspend = 1,
|
||||
.ignore_pmdown_time = 1,
|
||||
},
|
||||
{
|
||||
.name = LPASS_BE_QUIN_TDM_TX_0,
|
||||
.stream_name = "Quinary TDM0 Capture",
|
||||
.cpu_dai_name = "msm-dai-q6-tdm.36929",
|
||||
.platform_name = "msm-pcm-routing",
|
||||
.codec_name = "msm-stub-codec.1",
|
||||
.codec_dai_name = "msm-stub-tx",
|
||||
.no_pcm = 1,
|
||||
.dpcm_capture = 1,
|
||||
.id = MSM_BACKEND_DAI_QUIN_TDM_TX_0,
|
||||
.be_hw_params_fixup = msm_tdm_be_hw_params_fixup,
|
||||
.ops = &sa6155_tdm_be_ops,
|
||||
.ignore_suspend = 1,
|
||||
},
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_link msm_auto_be_dai_links[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue