From patchwork Mon Dec 2 11:53:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 180604 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp5107687ile; Mon, 2 Dec 2019 03:56:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwXf5xmp8VjHGLwvHbxpo1iu3ClklmUScRpezJCcYS+d3QyimCh8eZw30vmE71D/FiPptuo X-Received: by 2002:aa7:d6c8:: with SMTP id x8mr32848136edr.300.1575287772221; Mon, 02 Dec 2019 03:56:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575287772; cv=none; d=google.com; s=arc-20160816; b=Sj9/mV64pyfnv3xLFFjMK3l4HXyjZ0FzRVvY165fJNTsgDvj12QwUjlzwMFLwM/5PU eLv8/BS+TL1z6JSLz+J1j8k3EZEfT9T7vXABakkHsthCBofI9B+DNya78Pp4ai6L4980 douFjUkOd3/EdIlDzz6wMIVGDIgA1y/2hUEbmc4xnL4k+5wL4uLhH7NKytmvekQMPa60 DC/itMUoAv6ewVEJUq1xRVTeWh3hMcH8zFH4zWy9vDisEvdGaPYMF4pA6+KSrVO7PUjD zoX0GNvWaqK4fvWPW+3YdtYBrfWIMKtG4vd1A7H/vmIk968VAhfV9UHZBJi2KLg06sg+ qguA== 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=XYB5Fj1Jq9ZKHghVg6Hhep15ib6Xhi//gRqICDabAcM=; b=fHWR1hMx3zsgbqHZNIQZlDK7tzFZ6kfdiW3iPdb8B8x/8vAVxAckku+IMJEvppC61C T2K/JQjy++PLvq06QM8Hurm1xDBY4JT+jNY57TXNpqdCF8UYPcMdsk8SKVSgfGH+5kQE OTIDNA/7epJ0UZoDlNwgv3dv0EylAdBdacDmUDQx4d+m/WKnqFCI8i3kj7TggBKMS/Wr GyvZY1e0JL4lWB9L8HfcB3eaWouHed0u22/G9/KSZGUdhRJMwc54wDyWJRfkX53PSCzb mNbfFz/1UBkhuncHkfBKlja2hHkqm7zw+f4dQ591M5r5fpRh6yw1OKDMFKaGaWaJhzk7 x7pg== 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 k2si9363488edn.314.2019.12.02.03.56.12; Mon, 02 Dec 2019 03:56:12 -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 S1727414AbfLBL4L (ORCPT + 8 others); Mon, 2 Dec 2019 06:56:11 -0500 Received: from inva020.nxp.com ([92.121.34.13]:55454 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfLBL4L (ORCPT ); Mon, 2 Dec 2019 06:56:11 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 3B7191A00E2; Mon, 2 Dec 2019 12:56:09 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2B0E61A012B; Mon, 2 Dec 2019 12:56:03 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8048340245; Mon, 2 Dec 2019 19:55:55 +0800 (SGT) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm & imx8qxp Date: Mon, 2 Dec 2019 19:53:29 +0800 Message-Id: <45ef9ee8c6265743a9c30d8e4d9dcbac1ee3aabe.1575286886.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,imx8qm-asrc" for imx8qm platform, "fsl,imx8qxp-asrc" for imx8qxp platform. There are two asrc modules in imx8qm & imx8qxp, 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". changes in v4 -add "fsl,imx8qxp-asrc" Documentation/devicetree/bindings/sound/fsl,asrc.txt | 8 +++++++- 1 file changed, 7 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..f4481779e8f2 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", "fsl,imx8qxp-asrc" - reg : Offset and length of the register set for the device. @@ -35,6 +36,11 @@ 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/imx8qxp + <1> - select the map for asrc1 in imx8qm/imx8qxp + Optional properties: - big-endian : If this property is absent, the little endian mode