Re: [PATCH 3/5 v7][RFC] ASoC: simple-card: add Device Tree support

From
Stephen Warren <hidden>
Date
2013-02-28 19:16:05
Also in
alsa-devel
On 02/27/2013 05:53 PM, Kuninori Morimoto wrote:
Hi Stephen

Thank you for your reply
quoted
quoted
Support for loading the simple-card module via devicetree.
It requests cpu/codec information,
and .of_xlate_dai_name support on each driver for probing.
quoted
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt b/Documentation/devicetree/bindings/sound/simple-card.txt
quoted
+Optional properties:
...
quoted
+- simple-audio,bitclock-inversion	: bit clock inversion for both CPU/CODEC
+- simple-audio,frame-inversion		: frame inversion for both CPU/CODEC
I think that Mark pointed out those would be best stored in the CPU and
CODEC child nodes, since random buffering/inverting on the board might
make the values at the two DAIs the opposite of each-other.
Sub node has same properties too,
and this is hybrid result of your/Mark comments.

If "sound node" has these properties, these will go to both CPU/CODEC,
this means "cpu/codec common properties"
if "cpu/codec sub node" has it, it will go to itself only.
I guess "common property" is useful ?
OK, that makes sense. I didn't get that impression from reading the DT
binding document though. Perhaps I read it too fast. The document should
explicitly mention which nodes those properties can exist in.
Thread (1 message) 1 message, 1 author, last reply 2013-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help