Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp387041ybb; Wed, 1 Apr 2020 01:53:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vupaX/SlfBxr0CxJB4qyixy4tTs8/uTadkPU5Q1RbpDooORhPf5s9wqLWWrJtDl9nPUQNzq X-Received: by 2002:a4a:e9fc:: with SMTP id w28mr15960213ooc.98.1585731234800; Wed, 01 Apr 2020 01:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585731234; cv=none; d=google.com; s=arc-20160816; b=tvTLrq2rm43EdvJ2N3Puy/s1retl9HPBdlBtw0B9RpScHGNw2+ET81J4E3+U/z8LjX LOfs1gR0z+QW0Ywz4KuFlkKJEUjmQFf5MZ3FKJODEeXHIrGQQfyArfVVo+Yg/RU0eDgX KkNPnkX2utiyG6bjDaCCurXktMhrscKvU2BG5SVxpYQ2mVWnSx1o+PeaDylg1mkM7EQ+ RHSdbrdQojL6Fv9s5opZ399jegmRwSwZ3avIpu8qII/TidLxNTXY9Svz2RC5Zzcv5gFn 2+yWV+2Vwnciw4f3fNHUmPRdNdBjMqSFZb+ofLiPPh2gZsWkUWoMmwJTZRwtUSyUPSun laWg== 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=D5oV/Esr6/GxRBlv0FO+LunVKxRaVoEj939ZGc0TlH0=; b=tPqYWQlyOkx5BHMRwHLuvZZiEE4hJxwgnH6Ml4q3D7rOMzcfxYM7GEQItbBPcqgy30 o/XfNqSEx5UncSEJ1oBKA0s4mDzYB/H81tcxaEfQz6XVD56W+6op2kODpN5wrPmNhgTd OYr6z2SA0AFytYGoJMA2smhreK9adNi3g2QzGzT6zXgN2WUwiwwxHoB7/hoekrMkTKNe TZQ3pKKgpOh/Beyof/jFgUxmCYfztYGibjImbwMxDMp781fwu+QrNJsip+rkiKfptSrl AMPa9923hke30JcSlTN/bPNgBCB2vyjQ60Jtj2i2jV/RqxBUOCO4+YruZ654r+F++COb rQcg== 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 r15si545152otc.316.2020.04.01.01.53.42; Wed, 01 Apr 2020 01:53:54 -0700 (PDT) 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 S1731836AbgDAIxT (ORCPT + 99 others); Wed, 1 Apr 2020 04:53:19 -0400 Received: from inva021.nxp.com ([92.121.34.21]:55312 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbgDAIxT (ORCPT ); Wed, 1 Apr 2020 04:53:19 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 380CC20025F; Wed, 1 Apr 2020 10:53:17 +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 183ED200CB2; Wed, 1 Apr 2020 10:53:10 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 477144024E; Wed, 1 Apr 2020 16:53:01 +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 v6 0/7] ASoC: Add new module driver for new ASRC Date: Wed, 1 Apr 2020 16:45:33 +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 new property fsl,asrc-format Shengjiu Wang (7): ASoC: fsl_asrc: rename asrc_priv to asrc ASoC: dt-bindings: fsl_asrc: Add new property fsl,asrc-format ASoC: fsl-asoc-card: Support new property fsl,asrc-format ASoC: fsl_asrc: Support new property fsl,asrc-format 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 drivers changes in v6 - updated according to Nicoin's and Rob's comments. changes in v5 - Add new property fsl,asrc-format, rather than change fsl,asrc-width to fsl,asrc-formt. - code change for above change. 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 | 101 + sound/soc/fsl/Kconfig | 11 + sound/soc/fsl/Makefile | 2 + sound/soc/fsl/fsl-asoc-card.c | 21 +- sound/soc/fsl/fsl_asrc.c | 303 +-- 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 | 2114 +++++++++++++++++ sound/soc/fsl/fsl_easrc.h | 651 +++++ 11 files changed, 3206 insertions(+), 234 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