From patchwork Wed Dec 4 12:00:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 180789 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp509978ile; Wed, 4 Dec 2019 04:02:42 -0800 (PST) X-Google-Smtp-Source: APXvYqw1/MuzDbz5kYB9J5xtNRRL0FfASAyPD949dTbfYE3EnLX7bFwk0JkS5OJPAAsvzFMW56jX X-Received: by 2002:a9d:7394:: with SMTP id j20mr2147139otk.273.1575460961927; Wed, 04 Dec 2019 04:02:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575460961; cv=none; d=google.com; s=arc-20160816; b=WLkUUpwPmmS6yqxn5zi+PVWJ8m3Ricr4DExGCRA5GO7L3XntO6CebjahVE6eW1BF3l KW1J/aF1nZZngt5hWvHsiRsRSuob5MhoJI9G4vxF5KYXQPHBkAqX67uyKs4FbmlYgccT kr9b1bAhOdbN5xJzNul+96x/YyteLcu9s1EsZKCtRVaGB24jeHCAj+VC2qDBQ4Ivry/g 0ObwbZJ9QkpEZmDBogZ/nNv4EXCr2fIvRujcu7zsHXHRchnNw/ebdifGl6j7KYnsS3PQ 7OFlh733nsHg1a+ecc3hCR1aUp+L/DaoI0uZp7Vp7lPQ8pBMDH3aOblzTZ+pEWDNrn92 OQCw== 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=OV1t3YytuKqSx5wf7+ChFS2Yt2W2O5KMe/FJueLKqiU=; b=QR9Xj/btxNzICMBeZRb5GXLg3hAhsQCGAPqUAbk3cXqLAbGKZxYEPtD/tLmv/o1d0A rv4yXW+mKqPSTmOsjUYvLmYVv7EmT9vS39KRtMzaclK3brZpU3Sruia6SSyTxudP0aNx sTub7Spc0Q8c6LBNn8SeyigZ+NkfrBu5PHRwXik7BOCDn9sE0BwTwYAZ+59l00VYWZR4 MWlemOW5OYkUcg+AMYCu55oHSjDH+K+A/hpUDVMJ7RJgX+6g6Dy3K99Uz9xFZWzZ8gUz NmeGC3OxsMLn93lsISfipGqJJtweV4rlxpOXdE1L9i2GM5xAHEb0wZalNn1wZeohT8uh WoZg== 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 q10si3060913otn.53.2019.12.04.04.02.41; Wed, 04 Dec 2019 04:02:41 -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 S1727503AbfLDMCl (ORCPT + 8 others); Wed, 4 Dec 2019 07:02:41 -0500 Received: from inva021.nxp.com ([92.121.34.21]:33584 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727445AbfLDMCl (ORCPT ); Wed, 4 Dec 2019 07:02:41 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 79266200421; Wed, 4 Dec 2019 13:02:36 +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 69C7F20010B; Wed, 4 Dec 2019 13:02:30 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 086AC402AD; Wed, 4 Dec 2019 20:02:22 +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 v5 1/2] ASoC: dt-bindings: fsl_asrc: add compatible string for imx8qm & imx8qxp Date: Wed, 4 Dec 2019 20:00:18 +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, "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" changes in v5 -refine the comments for compatible Documentation/devicetree/bindings/sound/fsl,asrc.txt | 12 +++++++++++- 1 file changed, 11 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..cb9a25165503 100644 --- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt +++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt @@ -8,7 +8,12 @@ three substreams within totally 10 channels. Required properties: - - compatible : Contains "fsl,imx35-asrc" or "fsl,imx53-asrc". + - compatible : Compatible list, should contain one of the following + compatibles: + "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 +40,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