<div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><div>Hi all,</div></div><div>I have the MinnowBoard Max with Baytrail Atom (ValleyView) SoC. </div><div>I'm attempting to write a driver for my sound card to work with this board.</div><div>PCM should work through I2S for this sound card I have.</div><div>I was looking for an I2S bus driver for this SoC and I found this mailing thread: <a href="https://www.mail-archive.com/elinux-minnowboard@lists.elinux.org/msg01572.html">https://www.mail-archive.com/elinux-minnowboard@lists.elinux.org/msg01572.html</a></div><div><br></div><div>So I understand that I need the 3 components for my ASoC driver. However I am having trouble at understanding how to communicate with the LPE to get the I2S working.</div><div><br></div><div>Here is what I have done so far: </div><div>I am running Ubuntu 14.04 LTS, kernel : 4.3.0-040300rc4</div><div><br></div><div>First of all I downloaded the firmware <span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">fw_sst_0f28.bin-48kHz_i2s_master from </span><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6px;white-space:pre-wrap"><a href="https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware/+/refs/heads/master/intel/fw_sst_0f28.bin-48kHz_i2s_master">https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware/+/refs/heads/master/intel/fw_sst_0f28.bin-48kHz_i2s_master</a></span></font></div><div><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6px;white-space:pre-wrap">And put it </span></font><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">/lib/firmware/intel/.</span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">Later I went to the Bios and enabled LPE. (For some reason only Enable in PCI mode makes  the LPE controller show up in lshw).</span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap"><br></span></div><div><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6px;white-space:pre-wrap">Later I looked at the sound/soc/inte/baytrail/ and from my understanding inorder for me to get  the I2S working I need to load this module so I did modprobe snd-soc-sst-baytrail-pcm. Later I wrote a simple codec and machine driver (looking at the example of sound/soc/intel/boards/byt_max98090) however everytime I attempt to register the sound card with snd_soc_register_card, I get the following error message in dmesg : </span></font><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12.8px;background-color:rgb(240,247,255)">"ASoC: CPU DAI baytrail-pcm-audio not registered".</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12.8px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12.8px;background-color:rgb(240,247,255)">From this I deduct that although I loaded the </span><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">snd-soc-sst-baytrail-pcm module, the driver has not actually been loaded.</span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">I'm clueless on how to proceed from here.</span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">I would highly appreciate your help.</span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap">Thank you</span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6px;white-space:pre-wrap"><br></span></div><div><br></div><div><br></div></div></div>
</div>