Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1410614imu; Wed, 16 Jan 2019 19:17:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN47g1ZEGA7kpCCT0anYg5Ead1X+XBaO+wwxWQ67GlnjOWISHv9xVMkyRgwrFIjyjTLIl7p4 X-Received: by 2002:a62:6e07:: with SMTP id j7mr13508927pfc.135.1547695050727; Wed, 16 Jan 2019 19:17:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547695050; cv=none; d=google.com; s=arc-20160816; b=jiVm8NnA6jgpJQnPbjmnopDlzCMUTGEG0SnzjRCXLO7TIgFdJ0d8PnnDRSIOdYrlL/ rQV+k4kMnDw+gMnw84cKVpVrpLRhepAx4z5TzIVHLpEEFOGqBVzjV9cdNAiDLdZehtdq 9qvENOAcCAth2/PUaheZ43lV00HfRAUfvgdb6B2RRWdAVuB19rCU9sIKmHgNaaj/7ylf 2sT6DfbIvB2D18cYZNcNhF1mcVrrUdLUkwQA0VHzXxWT++JslDKEWJnsBa57ZlgrhVnG 6GJLtqsLQFMj6AxNchl8b5o2Bhei7FMrlskiYyRL33M6JReLcgRtpRU8Moa6LSumXwrm hyag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=aPWM1AqWAmZUC/KtGael9gqXqDnamd2rhQqXFyqQd3M=; b=xBMgvgkjFNHuWnZkXcCWdphanC8t1SBgXiI1Cb8iKRy/svvop9U0Lg4XYrreQOyWYQ HF/mfFt2xf4dudExF/LIW2w1WtDev1ORsH9c0fsHx1zQIRtmEZj9K6Ltkefjh9qi4yD+ /W2L55Qtnm6n8bEUEm/S9l5bkWVqNiVwqMo0CpaIhU9FJ/Ruie/bEPAWazTysSKCKUsL ZIxcSKJ0h8LzmBbKJh4PTmk4tzod2tpVSiVrSicyFjSN9xZ+Xsjphskf3/IgyvHD4qgr NMuaa043hCkuEL6NQrqh622gvuwbILU2bhHUdRNdOGGsqmQRtDZ9ZvYlJVDiyj2MiZld XJeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=khRVGQJS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n59si359221plb.388.2019.01.16.19.17.14; Wed, 16 Jan 2019 19:17:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=khRVGQJS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388621AbfAPIWG (ORCPT + 99 others); Wed, 16 Jan 2019 03:22:06 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39844 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729243AbfAPIWF (ORCPT ); Wed, 16 Jan 2019 03:22:05 -0500 Received: by mail-ed1-f67.google.com with SMTP id b14so4702090edt.6; Wed, 16 Jan 2019 00:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aPWM1AqWAmZUC/KtGael9gqXqDnamd2rhQqXFyqQd3M=; b=khRVGQJS6dPOfa2vFbkTo7tuY9Me8XKCVkflHPDCbNrFC3N+nMY4wRg79Ee3LkEp2i +lScQRVIjdSaTy4uyjMXZ+fynsgkLk5aX0nz6hROR8CVFcPxzw6o/8P6UzGzc7a+lJ7+ 6kFaKBAFNla3gZTReW/I0O3DRz+cjFK+vO/kqcPGYsIOwls1HgXQmHkE4mRDOgn30/UE c99fifx6oPMI7a0jnay9G0C3rERTVY41OVabgv/7z2AApq7PZXvBXLHNbVgDX+Jx7oFW yUPKOMZ8+V1XiqDy3kfQJ81VmMiya7d8npCtxNzym2+6tqEWB15R+bYeWl3o4UtAgN6z L6kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aPWM1AqWAmZUC/KtGael9gqXqDnamd2rhQqXFyqQd3M=; b=FdSQy3HGf8AIPRHdehoSurPo+lVzIaShj1d14cqLfQXTQAbas/DppsoKtevC5KlWQH GRVJtGl8ypOY4zX0YeTsDv34XX254GXhLG1/UDeZoq4KYLF8oOI/xgHqLo0+uhZYOulX iqpdYmPrzZFbsCvssBVTl7Jhtg3VNrvLOD+T1pqgHDa9EZX0sC27aUQVycznhU2hL0lz RrFIPBGHwdgeMO87dgN46L8+fbeWQC7gFOZKeQvjYDJCEAVp9pE+3B18s+alAuRYo33I Yat7fy3b3BBxAe080+JpWxNvKXBazgOn2Oj1/GAIfBKqEq3KvIew0CqCkrveAJDN4S0R 8rTg== X-Gm-Message-State: AJcUukd/FA26i3WprA/2OFF20VYs9YvT69rkjuQGniynT9ViFV4mg+8+ m3zdAN3JwmCiHi+xsI0JxLMlOMysV5r1ElU4Pw4= X-Received: by 2002:a50:a125:: with SMTP id 34mr6560393edj.175.1547626923895; Wed, 16 Jan 2019 00:22:03 -0800 (PST) MIME-Version: 1.0 References: <1546952716-2743-1-git-send-email-viorel.suman@nxp.com> <1546952716-2743-5-git-send-email-viorel.suman@nxp.com> <20190115205755.GA4022@bogus> In-Reply-To: <20190115205755.GA4022@bogus> From: Daniel Baluta Date: Wed, 16 Jan 2019 10:21:52 +0200 Message-ID: Subject: Re: [alsa-devel] [PATCH v2 4/4] ASoC: add imx-audmix DT binding documentation To: Rob Herring Cc: Viorel Suman , Mark Rutland , "devicetree@vger.kernel.org" , "alsa-devel@alsa-project.org" , Timur Tabi , Xiubo Li , "linux-kernel@vger.kernel.org" , "S.j. Wang" , "linuxppc-dev@lists.ozlabs.org" , Takashi Iwai , Liam Girdwood , Nicolin Chen , Cosmin Samoila , Mark Brown , dl-linux-imx , Viorel Suman , Fabio Estevam , Daniel Baluta Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 10:58 PM Rob Herring wrote: > > On Tue, Jan 08, 2019 at 01:05:51PM +0000, Viorel Suman wrote: > > Add the DT binding documentation for Audio Mixer > > machine driver. > > > > Signed-off-by: Viorel Suman > > --- > > .../devicetree/bindings/sound/imx-audmix.txt | 24 ++++++++++++++++++++++ > > 1 file changed, 24 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/sound/imx-audmix.txt > > > > diff --git a/Documentation/devicetree/bindings/sound/imx-audmix.txt b/Documentation/devicetree/bindings/sound/imx-audmix.txt > > new file mode 100644 > > index 0000000..6ac1230 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/sound/imx-audmix.txt > > @@ -0,0 +1,24 @@ > > +NXP Audio Mixer (AUDMIX) machine driver. > > + > > +Required properties: > > +=================================== > > + - compatible : Compatible list, contains "fsl,imx-audmix" > > + > > + - model : Short audio card description. > > + > > + - dais : Must contain a list of phandles to AUDMIX connected > > + DAIs. The current implementation requires two phandles > > + to SAI interfaces to be provided, the first SAI in the > > + list being used to route the AUDMIX output. > > + > > + - audmix-controller : Must contain the phandle to the AUDMIX device node. > > I don't think you need 2 nodes for this as this one is just a virtual > device. Just add the dais property to the audmix node. Hi Rob, Thanks for the suggestion. We want to understand better the reasoning behind this. Is it because dais are physically connected to AUDMIX node? In ALSA we usually add all the components inside the associated machine driver virtual node. thanks, Daniel.