From patchwork Tue Dec 11 02:05:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 10722961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C5DC13AF for ; Tue, 11 Dec 2018 02:06:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B4822A8B0 for ; Tue, 11 Dec 2018 02:06:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F2112A8B2; Tue, 11 Dec 2018 02:06:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF15A2A8B0 for ; Tue, 11 Dec 2018 02:06:20 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D5F04267B38; Tue, 11 Dec 2018 03:06:17 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 65C0E267B3F; Tue, 11 Dec 2018 03:06:15 +0100 (CET) Received: from muru.com (muru.com [72.249.23.125]) by alsa0.perex.cz (Postfix) with ESMTP id CF62426770D for ; Tue, 11 Dec 2018 03:06:11 +0100 (CET) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 737D980F0; Tue, 11 Dec 2018 02:06:13 +0000 (UTC) From: Tony Lindgren To: Mark Brown Date: Mon, 10 Dec 2018 18:05:55 -0800 Message-Id: <20181211020557.61783-1-tony@atomide.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Kuninori Morimoto , Liam Girdwood , linux-kernel@vger.kernel.org, Takashi Iwai , linux-omap@vger.kernel.org Subject: [alsa-devel] [PATCH 0/2] Graph fixes for using multiple endpoints per port X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, Here are two fixes that allow me to have multiple endpoints defined in the dts file for audio-graph-card. To do that, we need to fix up few issues as the graph binding Documentation/devicetree/bindings/graph.txt allows multiple endpoints per port. This allows configuring TDM codecs for I2S for example. Kuninori-san, can you please check if this makes sense to you and compare against the graph binding? Cheers, Tony Tony Lindgren (2): ASoC: simple-card-utils: revert port changes to follow graph binding ASoC: audio-graph-card: Fix parsing of multiple endpoints sound/soc/generic/audio-graph-card.c | 41 +++++++++++++++++++++++---- sound/soc/generic/simple-card-utils.c | 22 ++++++++++++-- 2 files changed, 55 insertions(+), 8 deletions(-)