Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537027

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

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 11/14] ASoC: add simple-graph-card document
Date 2016-12-06 16:10 +0100
Message-ID <sLpxw-3FC-49@gated-at.bofh.it> (permalink)
References (1 earlier) <sJWxz-4wP-13@gated-at.bofh.it> <sJWxz-4wP-11@gated-at.bofh.it> <sLaoN-2aw-7@gated-at.bofh.it> <sLaoN-2aw-5@gated-at.bofh.it> <sLpxw-3FC-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 5, 2016 at 6:57 PM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>
> 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 ?

Yes, something like this.

> in driver point of view, "I2S" is sound card here.

Well, that seems odd to me because I2S should just be the h/w block
that interfaces to I2S/SSI signals. I'd expect you still have a card
node that references these nodes. Maybe it just references the DSP and
then you walk the graph from there to find the I2S controller and
codec.

>
> 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>;
>                 }
>         }
> }

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 11/14] ASoC: add simple-graph-card document Rob Herring <robh@kernel.org> - 2016-12-02 15:00 +0100
  Re: [PATCH v5 11/14] ASoC: add simple-graph-card document Rob Herring <robh@kernel.org> - 2016-12-06 00:00 +0100
    Re: [PATCH v5 11/14] ASoC: add simple-graph-card document Rob Herring <robh@kernel.org> - 2016-12-06 16:10 +0100

csiph-web