All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Jean-Francois Moine <moinejf@free.fr>,
	Mark Brown <broonie@kernel.org>,
	Laurent <laurent.pinchart@ideasonboard.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Jose Abreu <Jose.Abreu@synopsys.com>,
	Linux-DT <devicetree@vger.kernel.org>,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Simon <horms@verge.net.au>
Subject: Re: [alsa-devel] [PATCH 0/4] ASoC: add graph base connection on simple-card
Date: Fri, 15 Apr 2016 09:26:03 +0000	[thread overview]
Message-ID: <87fuunjkio.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <87h9f3jq3m.wl%kuninori.morimoto.gx@renesas.com>


Hi again

> > According to Documentation/devicetree/bindings/graph.txt section
> > "Links between endpoints", the endpoint/remote-endpoint links are
> > bi-directional and describe the physical links: the audio port of the
> > codec is connected to the audio controller and reverse.
> > There is no reverse link from the codec to the 'simple-card'.
> (snip)
> > The codec associated to the HDMI transmitter declares 2 DAIs.
> > It may choose to define the DAI numbers either in a fixed order
> > (say 0 is always S/PDIF and 1 is always I2S), or dynamically, following
> > the declaration of the ports (in the example, 0 is I2S and 1 is S/PDIF).
> 
> My assumption was video/audio are using same port, but indeed
> we need to care about more.
> 
> But, if we need to describe both "video port" and "audio port" separately
> in graph, simple-card side doesn't need graph style IMO.
> Because normal phandle style (= non graph style) is working already.
> 
> I thought that describing both "video" and "audio" is too much.
> -> assume that video/audio can share same port
>  -> this patch
>   -> but thoughtless :P
> 
> I'm not sure, but do you think snd_soc_get_dai_name()::of_xlate_dai_name
> can works for us ?
> 
> My concern is if audio side need to care/support "formal" graph style,
> I think all cpu/codec/card driver (and soc-core too ?) need to be updated,
> but it is too much for me.
> if fake graph style (like this patch) is OK, I'm happy to hack it more.

This "fake graph style" means it is supporting both graph's "remote-endpoint"
and current simple-card's "sound-dai" (= not 100% graph style).

  reply	other threads:[~2016-04-15  9:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14  5:45 [PATCH 0/4] ASoC: add graph base connection on simple-card Kuninori Morimoto
2016-04-14  5:47 ` [PATCH 1/4] of_graph: add of_graph_get_endpoint_count() Kuninori Morimoto
2016-04-14  5:47 ` [PATCH 2/4] ASoC: add of_parse_snd_connection_with_args() for sound-dai/graph connection Kuninori Morimoto
2016-04-14  6:17   ` [alsa-devel] " kbuild test robot
2016-04-14  7:07     ` [PATCH] of: add missing const for of_parse_phandle_with_args() in !CONFIG_OF Kuninori Morimoto
2016-04-14  7:07       ` Kuninori Morimoto
2016-05-10  2:53     ` [PATCH][RESEND] " Kuninori Morimoto
2016-05-10  2:53       ` Kuninori Morimoto
2016-04-14  5:48 ` [PATCH 3/4] ASoC: snd_soc_of_get_dai_name() uses of_parse_snd_soc_connection_with_args() Kuninori Morimoto
2016-04-14  5:48 ` [PATCH 4/4] ASoC: simple-card: probe both sound-dai and remote-endpoint Kuninori Morimoto
     [not found] ` <871t68wxxe.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-04-14  9:01   ` [alsa-devel] [PATCH 0/4] ASoC: add graph base connection on simple-card Jean-Francois Moine
2016-04-14  9:01     ` Jean-Francois Moine
     [not found]     ` <20160414110128.56a0da97d526cdcb8d5f1ddf-GANU6spQydw@public.gmane.org>
2016-04-15  7:25       ` Kuninori Morimoto
2016-04-15  7:25         ` Kuninori Morimoto
2016-04-15  9:26         ` Kuninori Morimoto [this message]
2016-04-15 11:31           ` Jean-Francois Moine
2016-04-15 11:31             ` Jean-Francois Moine
2016-04-18  2:43             ` Kuninori Morimoto
2016-04-18  2:43               ` [alsa-devel] " Kuninori Morimoto
     [not found]               ` <87r3e3ej5t.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-04-18  7:38                 ` Jean-Francois Moine
2016-04-18  7:38                   ` Jean-Francois Moine
2016-04-20  2:55                   ` Kuninori Morimoto
2016-04-20 16:18                     ` Jean-Francois Moine
2016-04-20 16:18                       ` Jean-Francois Moine
2016-04-18 17:12 ` Rob Herring
2016-04-18 17:12   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuunjkio.wl%kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --cc=Jose.Abreu@synopsys.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=lars@metafoo.de \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=moinejf@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.