<div dir="ltr">Hi Liam,<br><div class="gmail_extra"><br><div class="gmail_quote">2015-06-04 23:07 GMT+08:00 Liam Girdwood <span dir="ltr"><<a href="mailto:liam.r.girdwood@linux.intel.com" target="_blank">liam.r.girdwood@linux.intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, 2015-06-04 at 14:10 +0800, li yuqian wrote:<br>
> Hi Liam,<br>
><br>
> 2015-06-03 16:55 GMT+08:00 Liam Girdwood<br>
> <<a href="mailto:liam.r.girdwood@linux.intel.com">liam.r.girdwood@linux.intel.com</a>>:<br>
>         On Tue, 2015-06-02 at 18:27 +0100, Strasser, Kevin wrote:<br>
>         > Hi Li,<br>
>         ><br>
>         > On 06/01/15 8:03 PM, li yuqian wrote:<br>
>         > > check those driver, and i can understand there are three<br>
>         parts for the LPE<br>
>         > > driver to working, special for the LPE firmware need to<br>
>         adde it. i can figure<br>
>         > > it out in the<br>
>         > ><br>
>         <a href="https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/sound/soc/intel/sst-acpi.c?id=refs/tags/v4.0.4" target="_blank">https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/sound/soc/intel/sst-acpi.c?id=refs/tags/v4.0.4</a><br>
>         > > line 249 and 250.<br>
>         > ><br>
>         > > but when i checked that sst-acpi.c, i found the baytrial<br>
>         sst is not support<br>
>         > > the DMA data transfer, see the resindex_dma_base = -1 in<br>
>         line 262 and line 51<br>
>         > > /* DMA only valid when resindex_dma_base != -1*/<br>
>         > ><br>
>         > > Am i correct? the MBM i2s does not support DMA data<br>
>         transfer?<br>
>         ><br>
>         > You are correct, the Bay Trail LPE driver does not use DMA.<br>
>         I think that is just<br>
>         > a driver limitation, and does not necessarily indicate that<br>
>         the hardware isn't<br>
>         > capable.<br>
>         ><br>
>         > Liam, can you provide any context here?<br>
><br>
><br>
>         The BYT audio DSP driver does not use DMA for loading the FW<br>
>         from host<br>
>         memory to DSP memory, but it does use DMA for audio playback<br>
>         and capture<br>
>         (controlled by the FW). The BYT audio driver just does a<br>
>         memcpy() of the<br>
>         FW from host to DSP memory.<br>
><br>
>         Liam<br>
><br>
>         ><br>
>         > Thanks,<br>
>         > Kevin<br>
><br>
><br>
> Thanks for the explanation. is there more details information for that<br>
> "controlled by FW"? such as what is the data width of FW required, is<br>
> that fixed or user can change? in other words, should i use different<br>
> that FW to do different data width, sync clock and sst clock? also, i<br>
> found the TIZEN have some different FW for download in INTEL website<br>
> in<br>
> <a href="https://downloadcenter.intel.com/download/23903/Intel-Atom-Processor-E3800-Series-Linux-support-package-LPE-Firmware-for-Tizen-IVI-3-0-M2-Kernel-3-10-LTSI" target="_blank">https://downloadcenter.intel.com/download/23903/Intel-Atom-Processor-E3800-Series-Linux-support-package-LPE-Firmware-for-Tizen-IVI-3-0-M2-Kernel-3-10-LTSI</a>, can i use those FW to load to mainline kernel to support different mode of LPE, such as the master/slave mode with different sync, main clock?<br>
><br>
<br>
</div></div>It sounds like you have some different requirements to those supported<br>
by the FW ? Can you be more specific ? The current FW can support 16bit<br>
stereo at 48kHz with the codec as I2S slave.<br>
<br>
The FW wholly controls operation and configuration of the audio DMA and<br>
SSP ports (the host does not touch these). The host allocates the DMA<br>
buffers though.<br>
<br>
Btw, there are some new FW releases that are coming out soon that will<br>
provide some more flexibility wrt SSP configuration. This may be able to<br>
help with your requirements too.<br>
<br>
Thanks<br>
<br>
Liam<br>
><br>
> thanks<br>
<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Thank you. now i understand how is FW working. i project required the SSP working at 8KHZ sync, 2M main TDM bus clock, slave mode, will INTEL release such configure FW? i am expecting those new FW release ASAP ;)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks</div><div class="gmail_extra">Yuqian</div></div>