Re: [PATCH v5 11/14] ASoC: add simple-graph-card document

From: Kuninori Morimoto
Date: Mon Dec 05 2016 - 19:57:33 EST



Hi Rob

> I'd expect the top level node to be the card node that knows how to find
> all the components. The graph should reflect the data flow. For example,
> the data goes to audio DSP to I2S host to codec to amp.

Do you mean, is this OK for OF graph ?
in driver point of view, "I2S" is sound card here.

I2S {
port {
i2s-dsp: endpoint {
remote-endpoint = <&dsp>;
}
i2s-codec: endpoint {
remote-endpoint = <&codec>;
}
}
}

DSP {
port {
dsp: endpoint {
remote-endpoint = <&i2s-dsp>;
}
}
}

Codec {
port {
codec: endpoint {
remote-endpoint = <&i2s-codec>;
}
}
}