[alsa-devel] [PATCH V2] ASoC: SAMSUNG: Add sound card driver for Snow board
Mark Brown
broonie at kernel.org
Thu Apr 24 15:39:20 CEST 2014
On Wed, Apr 23, 2014 at 02:31:45PM +0530, Tushar Behera wrote:
> +Required properties:
> +- compatible : Can be one of the following,
> + "google,snow-audio-max98090" or
> + "google,snow-audio-max98095"
> +- samsung,i2s-controller: The phandle of the Samsung I2S0 controller
This should be any I2S controller, not just I2S0?
> +- samsung,audio-codec: The phandle of the audio codec
This binding only has one I2S controller and CODEC. However...
> +static struct snd_soc_dai_link snow_dai[] = {
> + { /* Playback DAI i/f */
> + .name = "Playback",
> + .stream_name = "Playback",
> + .codec_dai_name = "HiFi",
> + .dai_fmt = SND_SOC_DAIFMT_I2S |
> + SND_SOC_DAIFMT_NB_NF |
> + SND_SOC_DAIFMT_CBS_CFS,
> + }, { /* Capture DAI i/f */
> + .name = "Capture",
> + .stream_name = "Capture",
> + .codec_dai_name = "HiFi",
> + .dai_fmt = SND_SOC_DAIFMT_I2S |
> + SND_SOC_DAIFMT_NB_NF |
> + SND_SOC_DAIFMT_CBS_CFS,
> + },
> +};
...for some reason we have separate capture and playback DAI links
defined. Why is that? Also, why is the secondary I2S playback stream
not supported (this may be a reason to restrict to only the one I2S
interface)?
Please also use subject lines consistent with the subsystem - NO NEED TO
SHOUT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140424/b656d1db/attachment.sig>
More information about the Alsa-devel
mailing list