Hi team,
Can you please tell me how to enable or configure gpio_116 as a MI2S_1_MCLK for external codec mclk.
Thanks,
Arjun salariya
Hi team,
Can you please tell me how to enable or configure gpio_116 as a MI2S_1_MCLK for external codec mclk.
Thanks,
Arjun salariya
is there any update?
@arjun.salariya Have you tried these instructions? https://github.com/96boards/documentation/blob/master/consumer/dragonboard/dragonboard410c/guides/enable-ls-i2s.md
This should get MCLK output on gpio_116 I believe.
Hi mani,
Thanks for response,
i have tried instruction which you suggest but it doesn’t get any success.
Can you please share 0x07702004 (spkr_iomux) and 0x07702000( mic-iomux) register description for enable mclk and External Secondary MI2S MUX with Quatenary MI2S as full duplex. i can’t find above register description in HRD as well.
Thanks,
Arjun
Hi mani,
We got the register setting from android source code and resolve this issue.
find Below is a solution.
— a/sound/soc/qcom/apq8016_sbc.c
+++ b/sound/soc/qcom/apq8016_sbc.c
@@ -57,8 +57,9 @@ static int apq8016_sbc_dai_init(struct snd_soc_pcm_runtime *rtd)case MI2S_QUATERNARY: /* Configure the Quat MI2S to TLMM */
– writel(readl(pdata->mic_iomux) | MIC_CTRL_QUA_WS_SLAVE_SEL_10 |
– MIC_CTRL_TLMM_SCLK_EN,
++ writel(readl(pdata->spkr_iomux) | 0x00000002,
++ pdata->spkr_iomux);
++ writel(readl(pdata->mic_iomux) | 0x2020002,
pdata->mic_iomux);
break;
case MI2S_TERTIARY:
Thanks,
Arjun
Why a picture? Just post the text.