Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1235573ybz; Thu, 16 Apr 2020 05:35:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLiF2dlNe7Be++1yk+UvlnfrPkNdGJnARTvYpoL7QDDRDuKoZRLZTehQHzQl/9nuVad9qUd X-Received: by 2002:a17:907:41b3:: with SMTP id na3mr2862765ejb.250.1587040546830; Thu, 16 Apr 2020 05:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587040546; cv=none; d=google.com; s=arc-20160816; b=o04OuRI+sDklGSCxkTAB4R9uzhgvzWsf8AgQaeL6iMaeLQ5a3cB/Zsh1HmGCdclXHD 8pL8zuNN4HQ4+PQnbTaaopBxVhvXYjcqdqQWVa6kvCE2AuBUBF4+2Jzj8fnq7IoWHq0Q vVz9y8mXtfN/lS06ju5wlBOGCxZIJu4fnF/yU6cf8+sJbA6jfXByKabthV2+113MwoDu YVT7Z2OLdgwOdffujPxfOnTH43hWFPhyXNfRqzcxLiMzqlE6GSEnMoAUBRtBkY5UxU0Z Zq0erCOa1gNexER2Wqt+JjN+QtPJAmFCerkteyyj4xL4HepVtQUyk2V1iImte2pWnbYm +29g== 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=OIx1dMAA8nXa8/tztgJr3sYaYctOJYzy2m6YpDnrv8s=; b=r6trrRdZ6ifsJC7yY6Cu+Q8fhQrd8NPWufnYGiS88/QMLB+taHezlIa0rM0Z58L6FS mL+JepuWbSwN6U+D2iYX1Lo4oHi9UkgXW6W15CYAMYtVReKoNirZlC+zIQwIc7+FPCzn C4+cgNXqxFoR9yavuCQqW9Px9DVTi8CAM2MWeRF0dW+UGOonngeK9nSei14dXUUpp71L xommkT0JK6qdk5KbBI3FrJdvGdKXXjtuuVxjuujGpAFNeJNziSFItH+/cC8n/gKt8qWn woczK+tQP/Bu1GEvZPFIwK5glZecmMmCMV/GWqVXmtB7hqGUSpygX4+1SIf2i1dVRkVl NadQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id nh5si4405157ejb.352.2020.04.16.05.35.24; Thu, 16 Apr 2020 05:35:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2635691AbgDPMeE (ORCPT + 99 others); Thu, 16 Apr 2020 08:34:04 -0400 Received: from inva020.nxp.com ([92.121.34.13]:52802 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2635543AbgDPMd5 (ORCPT ); Thu, 16 Apr 2020 08:33:57 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A8BE51A0D60; Thu, 16 Apr 2020 14:33:54 +0200 (CEST) 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 0DD9E1A0D44; Thu, 16 Apr 2020 14:33:49 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 003BB402C4; Thu, 16 Apr 2020 20:33:41 +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 v9 0/7] ASoC: Add new module driver for new ASRC Date: Thu, 16 Apr 2020 20:25:30 +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 v9 - use lowercase for dt example. changes in v8 - change get_pair_priv_size to pair_priv_size variable changes in v7 - updated according to Nicoin's comments. - add get_pair_priv_size to replace PAIR_PRIVATE_SIZE 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 | 24 +- sound/soc/fsl/fsl_asrc.c | 305 +-- sound/soc/fsl/fsl_asrc.h | 74 +- sound/soc/fsl/fsl_asrc_common.h | 106 + 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, 3212 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