From patchwork Wed Jun 17 04:48:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 188117 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp134240ilo; Tue, 16 Jun 2020 21:59:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFu6HRgrJsjpmuyv2bkLlROW1UHZW8/3kLItNolBmaMAHA6i/MNSUiy6VfiyzLDeErwKfE X-Received: by 2002:a17:906:5006:: with SMTP id s6mr1607424ejj.294.1592369981112; Tue, 16 Jun 2020 21:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592369981; cv=none; d=google.com; s=arc-20160816; b=lq+MCAAdXWB3wvSOyNu71fOFDfCYXePf754rxOdxdKDKj4V3Fi7XGtVe5FdzpLG7xx 0pDpOTwWjhzXODdLHgq+0H75aomIsUjcwPb09LZ4VS+88y7rgPlBZk2PoW2JLDunT70j TR1EpaNwM/9gpvV2oSQlPj9phNKTS2zFK+G/B7BsgYLgkoMkYqVcHFM9qZjiPqAwCVT3 /18JwMnGqKtCZ9Jh47tsIQJP+5pPbHax+YVGBxx2yhf+q6ts0NhcpUIQDc244IKAAXJH UaNDsDb0dI2bIGJsN1FeGLDy+iiwsvXgyqxW4SaTjo/Uj60xrPVxN3E7Jj/7YVLAYgjf Ot/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=lFFJJh8c6JUAHQ9AcegsEkAfOPc9wZjFkOsORfC73eA=; b=eeQy+qPBOT7v2SBUOM6Kpr7KpJX87GzJS+m4KWAwarF6SZiHxYNWZPww5FlPbNSfSJ 6TVdRyf50ALJMxOnXlVaFS4YOTXzQdn6+phgF2Cf+Q91gShauUisHl5hQV0BrrNmXsiw q5FDUt4rGoeK1fKFWSBtTyR0myZjFQxyKiPtiaS5fhmzfLrjXNCqpJOl5G20awZ/MXC2 aqOyFxUO2lMI1aImeUN7pTwLmJvE/vlDVP9FqEoBgNjT/R3r0t2qwMS/rGHDCAqbyWNq YlpDmtDScbYrAilZcwD7ZMBCnVY9O/29n1rbt3KHpbgOj4AKa8YqrQTvERAP+C9k5bOL OUOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f18si1934239ejf.617.2020.06.16.21.59.40; Tue, 16 Jun 2020 21:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726773AbgFQE7k (ORCPT + 6 others); Wed, 17 Jun 2020 00:59:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:49568 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbgFQE7k (ORCPT ); Wed, 17 Jun 2020 00:59:40 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id CF7B42005FD; Wed, 17 Jun 2020 06:59:37 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 950FE2008A3; Wed, 17 Jun 2020 06:59:32 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A5824402B1; Wed, 17 Jun 2020 12:59:25 +0800 (SGT) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] ASoC: bindings: fsl-asoc-card: Add compatible string for MQS Date: Wed, 17 Jun 2020 12:48:24 +0800 Message-Id: <2185a3ec866bc59f82d93b73d1a732a896fd8f48.1592369271.git.shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible string "fsl,imx-audio-mqs" for MQS, and move "audio-routing" property to be optional for MQS doesn't need such property. Signed-off-by: Shengjiu Wang --- changes in v2 - Move "audio-routing" to optional. .../devicetree/bindings/sound/fsl-asoc-card.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) -- 2.21.0 diff --git a/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt b/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt index c60a5732d29c..ca9a3a43adfd 100644 --- a/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt +++ b/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt @@ -34,6 +34,8 @@ The compatible list for this generic sound card currently: "fsl,imx-audio-wm8960" + "fsl,imx-audio-mqs" + Required properties: - compatible : Contains one of entries in the compatible list. @@ -44,6 +46,11 @@ Required properties: - audio-codec : The phandle of an audio codec +Optional properties: + + - audio-asrc : The phandle of ASRC. It can be absent if there's no + need to add ASRC support via DPCM. + - audio-routing : A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's @@ -60,11 +67,6 @@ Required properties: coexisting in order to support the old bindings of wm8962 and sgtl5000. -Optional properties: - - - audio-asrc : The phandle of ASRC. It can be absent if there's no - need to add ASRC support via DPCM. - Optional unless SSI is selected as a CPU DAI: - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)