Generic Card (Generic Machine Driver):

Generic-Card specifies audio DAI connections of SoC <-> codec.

Required properties:

- compatible				: "asoc,audio-generic"

Optional properties:
- cpu-dai-node				: Phandle of soc interface node to be used as CPU DAI

- cpu-dai-name				: Name of soc interface to be used as CPU DAI

- codec-node				: Phandle of codec node

- codec-name				: Name of codec to be used

- codec-dai-name			: Name of CODEC DAI interface to be used

- platform-name				: Name of platform interface to be used

- cpu-clk				: Configure SYSCLK on MCLK for DAI interface

- codec-clk				: Configure SYSCLK on MCLK for DAI interface

- no-pcm				: Backend

- dynamic				: Frontend

Optional subnodes:

- compatible				: "asoc,audio-gmd-dai-link"
					  container for dai-link level
					  properties and the CPU and CODEC
					  sub-nodes. This container may be
					  omitted when the card has only one
					  DAI link. See the examples and the
					  section below.


Example 1 - single DAI link:

sound {
	compatible = "asoc,audio-generic";
	model = "gmd-card";

	cpu-dai-node = <&audio>;
	codec-node = <&ak4613>;
	codec-dai-name = "ak4613-hifi";
	platform-name = "ec500000.sound";
};

Example 2 - many DAI links:

sound {
	compatible = "asoc,audio-generic";
	model = "gmd-card";

	dai_link0 {
		compatible = "asoc,audio-gmd-dai-link";
		cpu-dai-node = <&audio 0>;
		codec-node = <&ak4613>;
		codec-dai-name = "ak4613-hifi";
		platform-name = "ec500000.sound";
	};

	dai_link1 {
		compatible = "asoc,audio-gmd-dai-link";
		cpu-dai-node = <&audio 0>;
		codec-node = <&ak4613>;
		codec-dai-name = "ak4613-hifi";
		platform-name = "ec500000.sound";
	};
};

Example 3 - FE/BE DAI links:
sound {
	compatible = "asoc,audio-generic";
	model = "gmd-card";

	fe_link0 {
		compatible = "asoc,audio-gmd-dai-link";
		cpu-dai-node = <&audio 0>;
		codec-name = "snd-soc-dummy";
		codec-dai-name = "snd-soc-dummy-dai";
		platform-name = "ec500000.sound";
		dynamic;
	};

	fe_link1 {
		compatible = "asoc,audio-gmd-dai-link";
		cpu-dai-node = <&audio 1>;
		codec-name = "snd-soc-dummy";
		codec-dai-name = "snd-soc-dummy-dai";
		platform-name = "ec500000.sound";
		dynamic;
	};

	be_link_ak4613 {
		compatible = "asoc,audio-gmd-dai-link";
		cpu-name = "snd-soc-dummy";
		cpu-dai-name = "snd-soc-dummy-dai";
		codec-node = <&ak4613>;
		codec-dai-name = "ak4613-hifi";
		platform-name = "snd-soc-dummy";
		no-pcm;
	};

};
