From patchwork Mon Nov 11 09:18:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 179061 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp6388578ilf; Mon, 11 Nov 2019 01:20:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwCQnREapy4lhrmKJ96NRbqonjPVwe+UunScShuswGQOSH/OCNHoJiJ2hFIfbqS4yRI51Jb X-Received: by 2002:a17:906:1611:: with SMTP id m17mr22340637ejd.281.1573464020618; Mon, 11 Nov 2019 01:20:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573464020; cv=none; d=google.com; s=arc-20160816; b=VZeMgOJ5mERNZgXlTHhIXB2A7fzeCbFPlevABnevk6gi4ozoyha3MH50Occ9z6F6Rs jIqcNrZajQRqce1VwzarxfMqYYSpdBziyFOWKGuWFNaQJlxkgI4ftS+y9AmfuFgIPmFE leso/AX2/OMa40hN7cMq9kAd87fWCOXlUAg1aiSg5ZCFuQbPgynK8zTdCCC12UDp1ECk u7PjNcIKgVq1fJPUd0Ai0snZYSFqFXFMM52MG8JIjO7P1IZdD5NPgUl8EVXwl3MdY4tt tGND8eVYMOMOHSB7guQYnPlqH9mNSdFfKqA+XQk5wvncY7gP2wDKMqKJj0lwGb49fi3O CPPQ== 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:to:from; bh=0yIuvMtqGfHEaKA5HNy+dxk4+RTxgF89tK5PI26FwIE=; b=KQd+kODdcQopuef6UdMLPxYr7q/7PnGd7DCjlulrvJWDAXUtgofXh5Hij6uKdP/kOZ Cw3khnxffQ0GNYlppd8xzjzaKJt4hwC/2VQdWUtI9OZCS89jNmxVFCDkfrYZf1vwiH3i WUL58S2mPujlGevHH/x0HJK8ZM7j5gV6+pDTsKrQl7yxG0Yl/EQsTsnpUvekY6LMFKcp gwVx3vqNCSbK+7DWJBbHWRKwOo/Q/Bava6nP6Lj9Dg7Dmyp6jLTwOhJfTu2NYLq0X+gc /hQp2ewmj1sguZaSsHhdyL9a2GlU2/+VwTaR7xHncFVTJLk4zWViYwzu34pyh6xxZnhF sBRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id w17si10946154edc.152.2019.11.11.01.20.20; Mon, 11 Nov 2019 01:20:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 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 S1726808AbfKKJUR (ORCPT + 8 others); Mon, 11 Nov 2019 04:20:17 -0500 Received: from inva021.nxp.com ([92.121.34.21]:42238 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbfKKJUQ (ORCPT ); Mon, 11 Nov 2019 04:20:16 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A3572200031; Mon, 11 Nov 2019 10:20:14 +0100 (CET) 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 93BBD2005D1; Mon, 11 Nov 2019 10:20:08 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D7F6F402C7; Mon, 11 Nov 2019 17:20:00 +0800 (SGT) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH V3 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm Date: Mon, 11 Nov 2019 17:18:22 +0800 Message-Id: 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,imx8qm-asrc" for imx8qm platform. There are two asrc modules in imx8qm, the clock mapping is different for each other, so add new property "fsl,asrc-clk-map" to distinguish them. Signed-off-by: Shengjiu Wang --- changes in v2 -none changes in v3 -use only one compatible string "fsl,imx8qm-asrc", -add new property "fsl,asrc-clk-map". Documentation/devicetree/bindings/sound/fsl,asrc.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) -- 2.21.0 diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt index 1d4d9f938689..02edab7cf3e0 100644 --- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt +++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt @@ -8,7 +8,8 @@ three substreams within totally 10 channels. Required properties: - - compatible : Contains "fsl,imx35-asrc" or "fsl,imx53-asrc". + - compatible : Contains "fsl,imx35-asrc", "fsl,imx53-asrc", + "fsl,imx8qm-asrc". - reg : Offset and length of the register set for the device. @@ -35,6 +36,13 @@ Required properties: - fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends. + - fsl,asrc-clk-map : Defines clock map used in driver. which is required + by imx8qm/imx8qxp platform + <0> - select the map for asrc0 in imx8qm + <1> - select the map for asrc1 in imx8qm + <2> - select the map for asrc0 in imx8qxp + <3> - select the map for asrc1 in imx8qxp + Optional properties: - big-endian : If this property is absent, the little endian mode