From: mtittinge@hotmail.com (Marc Titinger)
To: linux-arm-kernel@lists.infradead.org
Subject: i.MX31 : need help with 32bit-DMA read from SSI1-FIFO0 to external memory
Date: Fri, 4 Sep 2009 13:22:12 +0200 [thread overview]
Message-ID: <BLU105-W164D922827059FEC404EB3BAEE0@phx.gbl> (raw)
Hello kernel gurus,
I have an audio driver adapted from the alsa driver for the "PMIC" companion chip found on most i.MX31eval boards.
DMA read and write from/to the SSI1 fifo0 works OK with 8 bit and 16 bit wordlength set , but when I request a DMA read with
mxc_dma_request(MXC_DMA_SSI1_24BIT_RX0, "...");
the transfer seems to abort for some reason and by the time the callback is called the destination buffer is only partially filled with data from the SSI. According to the iMX31 manual 32bit r/w are possible from/to the SSI fifo0, and the DMA write to the fifo works as expected.
Has anyone successfully programmed a DMA read from the SSI1 fifo (register SRX0) to memory with a wordlength of 32 bits on i.MX31, and may know about any pitfall ?
Thanks and regards,
Marc Titinger.
Un avatar ? votre image ? Cr?ez votre mini-moi !
_________________________________________________________________
Tchattez en direct en en vid?o avec vos amis !
http://www.windowslive.fr/messenger/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20090904/9e51a34d/attachment.htm>
next reply other threads:[~2009-09-04 11:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 11:22 Marc Titinger [this message]
2009-09-04 15:29 ` i.MX31 : need help with 32bit-DMA read from SSI1-FIFO0 to external memory Liam Girdwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BLU105-W164D922827059FEC404EB3BAEE0@phx.gbl \
--to=mtittinge@hotmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox