[alsa-devel] No sound captured with SGTL5000 on i.MX6 in I²S master mode
Nicolin Chen
nicoleotsuka at gmail.com
Thu Sep 18 19:19:38 CEST 2014
On Thu, Sep 18, 2014 at 10:30:18AM -0300, Fabio Estevam wrote:
> > &iomuxc {
> > pinctrl-names = "default";
> > pinctrl-0 = <&pinctrl_hog>;
> >
> > imx6qdl-vbx3 {
> > pinctrl_audmux: audmuxgrp {
> > fsl,pins = <
> > MX6QDLPAD_DISP0_DAT13__AUD5_RXFS 0x130b0
> > MX6QDL_PAD_DISP0_DAT14__AUD5_RXC 0x130b0
> > MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
The other issue over here is you are using asynchronous mode of SSI,
while imx-sgtl5000 is using synchronous configurations for AUDMUX.
You can try it with fsl-asoc-card because it uses asynchronous mode
of AUDMUX, although I've not tested it with SSI in its asynchronous
mode as I only have a synchronous (SSI) environment.
> > &ssi1 {
> > status = "okay";
> > codec-handle = <&codec>;
> > fsl,mode = "i2s-master";
> > fsl,ssi-asynchronous; /* Not sure about it, but does not change anything */
The driver cares about it. If you look at the symmetric part carefully,
you would find some register configurations of SSI does depends on the
this property via symmetric check. For example:
if (ssi_private->cpu_dai_drv.symmetric_rates) {
/* Need to clear RXDIR when using SYNC mode */
srcr &= ~CCSR_SSI_SRCR_RXDIR;
scr |= CCSR_SSI_SCR_SYN;
}
Nicolin
More information about the Alsa-devel
mailing list