12 Sep
2012
12 Sep
'12
4:33 a.m.
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.