Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp978954ybf; Sat, 29 Feb 2020 21:30:58 -0800 (PST) X-Google-Smtp-Source: APXvYqy0MaGx/G2xuzkitg+g8ACG40wyZXRo/5pzAzqY+ATKJVgIYoSG7X/wsE01Q1mcCdzOmQpx X-Received: by 2002:a9d:5cc4:: with SMTP id r4mr9067366oti.33.1583040658287; Sat, 29 Feb 2020 21:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583040658; cv=none; d=google.com; s=arc-20160816; b=CvhvIA6cJau8S+ZGYKkD7Zr0NENP9/1mDNI87RcXd0CNen5PjMUy/MDRDD3otgX5C9 J3E3EWKultbVoMix5mH1qqklr+nguQ+03zoVUrz0MCQrkZWRKtaJ/K5XQD/bx+HgMxg4 BSUTy3LjvAoIEATK1FwHL4UJ3B824h7MeuSmKZS8BVbpg5nCSReMHEHUDPwGKRvWEOyF AlyyYJ8o19GT5RBnQejeafeyCPSuMmhGKAH+bnuUC5rb3QN7DKTN2HIDpRAtmy0wM/mc ZVOlY5txw0CX2iG3qU0dU6qchTqi3vf3UmjdiSDZbDk1/ovmdJCxhiRmMycuCvSa8iJ0 0/Hg== 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=jO9yU8vIJ6Vad0q/9zR6HIYtp2OIC7tKOoGEt14J9OU=; b=xFIyPnO4o4FRaRArgzgIY8Jvx2mB8l6N5Ht/doLv6n2BeK8O+nEkbAtTIjKbRj3vh0 7Qey7MIdbsfzjIkGIaDpBy+o3T3T+QFhPDLNybjXxA5u7QcKqEbUZ1YAOkmftmrN5KbJ MwK+RPTiylG28/8lxQYoniMAhVW+jE6MPaQLGT2BMpk9AkEJyvfDJ5g+UX7heHGE42th coTrReoAD4Mp5wR1AmXVThs+N2OCydBS0WHgtl9GmUGxTFgD0wdxy5opdnmVcn7xXluR HVXeTU3MHkqzk04qeTVcavJgbLCKd/xEhTJMFDljTVw9jW7LV54IO6GZOCE0z72CjMU9 LPrA== ARC-Authentication-Results: i=1; mx.google.com; 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=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 s82si4488916oih.240.2020.02.29.21.30.45; Sat, 29 Feb 2020 21:30:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbgCAFai (ORCPT + 99 others); Sun, 1 Mar 2020 00:30:38 -0500 Received: from inva021.nxp.com ([92.121.34.21]:55958 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbgCAFai (ORCPT ); Sun, 1 Mar 2020 00:30:38 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E2F8C200A2E; Sun, 1 Mar 2020 06:30:33 +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 A1F7C200A2D; Sun, 1 Mar 2020 06:30:24 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 813FD40294; Sun, 1 Mar 2020 13:30:13 +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, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/8] ASoC: Add new module driver for new ASRC Date: Sun, 1 Mar 2020 13:24:11 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add new module driver for new ASRC in i.MX8MN, several commits are added for change DT binding asrc-width to asrc-format Shengjiu Wang (8): ASoC: dt-bindings: fsl_asrc: Change asrc-width to asrc-format ARM: dts: imx6qdl: Change asrc-width to asrc-format ASoC: fsl-asoc-card: Change asrc-width to asrc-format ASoC: fsl_asrc: Change asrc_width to asrc_format ASoC: fsl_asrc: rename asrc_priv to asrc ASoC: fsl_asrc: Move common definition to fsl_asrc_common ASoC: dt-bindings: fsl_easrc: Add document for EASRC ASoC: fsl_easrc: Add EASRC ASoC CPU DAI and platform drivers changes in v4 - Add several commit for changing DT binding asrc-width to asrc-format - rename asrc_priv to asrc changes in v3 - add new commit "ASoC: fsl_asrc: Change asrc_width to asrc_format" - modify binding doc to yaml format - remove fsl_easrc_dma.c, make fsl_asrc_dma.c useable for easrc. changes in v2 - change i.MX815 to i.MX8MN - Add changes in Kconfig and Makefile .../devicetree/bindings/sound/fsl,asrc.txt | 4 +- .../devicetree/bindings/sound/fsl,easrc.yaml | 96 + arch/arm/boot/dts/imx6qdl.dtsi | 2 +- sound/soc/fsl/Kconfig | 11 + sound/soc/fsl/Makefile | 2 + sound/soc/fsl/fsl-asoc-card.c | 9 +- sound/soc/fsl/fsl_asrc.c | 282 +-- sound/soc/fsl/fsl_asrc.h | 74 +- sound/soc/fsl/fsl_asrc_common.h | 105 + sound/soc/fsl/fsl_asrc_dma.c | 54 +- sound/soc/fsl/fsl_easrc.c | 2111 +++++++++++++++++ sound/soc/fsl/fsl_easrc.h | 651 +++++ 12 files changed, 3169 insertions(+), 232 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/fsl,easrc.yaml create mode 100644 sound/soc/fsl/fsl_asrc_common.h create mode 100644 sound/soc/fsl/fsl_easrc.c create mode 100644 sound/soc/fsl/fsl_easrc.h -- 2.21.0