From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: Re: [PATCH 03/10] ASoC: audio-graph: Support Codec with multiple endpoints Date: 20 Jul 2020 14:13:35 +0900 Message-ID: <87o8oazs5a.wl-kuninori.morimoto.gx@renesas.com> References: <1595135417-16589-1-git-send-email-spujar@nvidia.com> <1595135417-16589-4-git-send-email-spujar@nvidia.com> <87365n2i2z.wl-kuninori.morimoto.gx@renesas.com> <870feaf2-3aa2-dbb8-f883-9b6cfcb36d82@nvidia.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <870feaf2-3aa2-dbb8-f883-9b6cfcb36d82-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sameer Pujar Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, perex-/Fr2/VpizcU@public.gmane.org, tiwai-IBi9RG/b67k@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, sharadg-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, mkumard-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, viswanathl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, rlokhande-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, dramesh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, atalambedu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, nwartikar-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, nicoleotsuka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: linux-tegra@vger.kernel.org Hi Sameer > >> diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c > >> index 1e20562..b1903f9 100644 > >> --- a/sound/soc/generic/audio-graph-card.c > >> +++ b/sound/soc/generic/audio-graph-card.c > >> @@ -201,8 +201,7 @@ static void graph_parse_mclk_fs(struct device_node *top, > >> static int graph_dai_link_of_dpcm(struct asoc_simple_priv *priv, > >> struct device_node *cpu_ep, > >> struct device_node *codec_ep, > >> - struct link_info *li, > >> - int dup_codec) > >> + struct link_info *li) > > This patch breaks DPCM connection which is used for MIXer > > Could you please elaborate a bit more as to what is broken with this? > The problem I am trying to solve here is to have multiple endpoints > for Codec port. For example MIXer, it is like below. If you removes "dup_codec", it breaks MIXer and/or TDM split mode. CPU0 ---+---- DAI | CPU1 ---+ cpu { ports { port@0 { cpu_0: endpoint { remote-endpoint = <&codec_0>; }; }; port@1 { cpu_1: endpoint { remote-endpoint = <&codec_1>; }; }; }; }; codec { port { codec_0: endpoint { remote-endpoint = <&cpu_0>; }; codec_1: endpoint { remote-endpoint = <&cpu_1>; }; } }; Thank you for your help !! Best regards --- Kuninori Morimoto