On Mon, Oct 20, 2008 at 03:54:32PM +0200, John Kacur wrote:
On Mon, Oct 20, 2008 at 3:24 PM, Mark Brown broonie@sirena.org.uk wrote:
Here is the outline of my design. So, if I understand you correctly, my jade-pcm.c file is just for implementing dma. Basically, I have a simple scenario there is no capture, just read a wav file from user space, transport it through i2s to the codec.
Machine Code (Jade)
jade-xxsvideo.c jade-xxsvideo.h
I gather that both your machine and your CPU are called jade? That makes things a little less clear than they normally would be.
Platform Code
jade-pcm.c jade-pcm.h
Normally you'd have a separate I2S driver here - from this...
DAI (Digital Audio Interface)
.cpu_dai = &jade_i2s_dai jade-i2s.c jade-i2s.h .codec_dai = &max5556_dai max5556.c max5556.h
...it looks like that's the case, in which case everything looks sensible.