Thread (10 messages) flat view 10 messages, 4 authors, 2014-08-07

Re: [PATCH] ASoC: fsl_sai: Add asynchronous mode support

From: Nicolin Chen <hidden>
Date: 2014-08-07 09:55:52
Also in: alsa-devel, linux-devicetree, lkml

On Thu, Aug 07, 2014 at 10:45:27AM +0100, Mark Brown wrote:
On Tue, Aug 05, 2014 at 03:32:05PM +0800, Nicolin Chen wrote:
quoted
From: Nicolin Chen <redacted>

SAI supports these operation modes:
1) asynchronous mode
   Both Tx and Rx are set to be asynchronous.
2) synchronous mode (Rx sync with Tx)
   Tx is set to be asynchronous, Rx is set to be synchronous.
3) synchronous mode (Tx sync with Rx)
   Rx is set to be asynchronous, Tx is set to be synchronous.
4) synchronous mode (Tx/Rx sync with another SAI's Tx)
5) synchronous mode (Tx/Rx sync with another SAI's Rx)
This seems to conflict with something else on my branch - not checked
what.  Can you take a look please?
Ah...there is another patch that should haven been merged into for-next
is currently missing on the remote branch.

This one:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-August/079689.html
 
quoted
+Note:
+- If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the
+  default synchronous mode (sync Rx with Tx) will be used, which means both
+  transimitter and receiver will send and receive data by following clocks
+  of transimitter.
+- fsl,sai-asynchronous will be ignored if fsl,sai-synchronous-rx property is
+  already present.
Might be worth printing an error here.
Hmm...Do I need to send a v2?

Thank you
Nicolin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help