[alsa-devel] [PATCH 3/5] ASoC: fsl: mpc5200-soc-audio driver

Stephen Warren swarren at wwwdotorg.org
Wed Sep 12 04:33:45 CEST 2012


On 09/11/2012 08:14 PM, Eric Millbrandt wrote:
> Add a generic mpc5200 driver that allows asoc cards to be defined in the
> device tree.

> +++ b/Documentation/devicetree/bindings/powerpc/fsl/mpc5200.txt

> +A sound node is defined for each asoc platform.  A sound node must
> +have at least one child DAI node.
> +- card-name           - The card name to register in asoc
> +- audio-platform      - Contains a phandle to a ac97 or i2s node
> +- number-of-dais      - The number of DAIs defined

Can't you get that value simply by counting all the child nodes? It
seems redundant.



More information about the Alsa-devel mailing list