Thread (1 message) 1 message, 1 author, 2014-08-24

Re: [alsa-devel] [PATCH 8/8] ASoC: add snd-soc-dummy DT support

From: Lars-Peter Clausen <hidden>
Date: 2014-08-24 08:48:46
Also in: alsa-devel

On 08/20/2014 09:13 AM, Kuninori Morimoto wrote:
From: Kuninori Morimoto <redacted>

This patch adds snd-soc-dummy DT binding support.
The devicetree describes the hardware, the snd-soc-dummy is a software only 
thing and should not be found in the devicetree.
It removes .stream_name from dummy_dai,
because "Playback" / "Capture" is very popular naming.

The DAPM will lost correct route settings
if other CPU/Codec was using same stream name.
And it will be problem when DPCM case.
Like below

FE CPU   (rsnd):   "DAI0 Playback"
    Codec (dummy):  "Playback"

BE CPU   (dummy):  "Playback"
    Codec (ak4642): "Playback"

That's something we need to fix, but I don't think removing the stream names 
is the right way to do this. In a multi CODEC environment you'll quite 
likely end up with widgets of the same name. Ideally a route endpoint would 
be expressed by a tuple of DT node and pin name. But I don't think it is 
possible to mix integer and string elements in a property.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help