Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp241920ybb; Wed, 15 Apr 2020 00:05:59 -0700 (PDT) X-Google-Smtp-Source: APiQypLoAvp55Cf3rtq9wAtxMEEprbEtvZl3rHJMlzKV0p74uLqYAUIyXBxEnmzGU6/PTYCra86w X-Received: by 2002:a17:906:9443:: with SMTP id z3mr3301953ejx.114.1586934358937; Wed, 15 Apr 2020 00:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586934358; cv=none; d=google.com; s=arc-20160816; b=Q8weWyP5IZWnQw8l9XXTuI3pQysfOPdzSW+FnR8hcueiaf+KYL4qZJuCRr6PQ4iXv3 ThXmDcvL1kxfdimHqN0N7WLFepKsVsZpTVB+tEgPBDblsTyaEmOENhMMhTOT1PLP9X4N uTxK8YXCOkm7Us7WWvlOlCJQEDSH9mJ/dEB2oq8jtlHu+DOd+4kQrkRva7h1YSYC4ydK I1E0b91nUoh998PtUKksiABRquSLk6pH3bGdqm2E2TkXdvJdngV/wDlr15bj526dURM0 /FhjrJ0VH48YGsHcMEe2C7cxJF5ShKYPfL56TxTrvdh/JMmBwPpHVokQqL7LXFV9s1CH PIWw== 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=fgjmuKJXeFKTSkEFFhqZ/BXn5vbRg6QKBExeJJfpCuw=; b=Beocyjga9PliGxqLEjLUVmuhwscOqdmithdPtIG3nEET2g1eoYcjTNSsIbcKD6m8cl 7NmBzfFDwS2Dtdcc8nncR7l7SQ3x3n/vA1Po2X9WEKaTtDNsat4epOHiPRHOyHSTf+nW PocEKeTGtvGMlpD22S9PfaBuKMi+1WZ696WnlDUU7Nr5sUEXFVH+RZ6SfG7w7vQjEayM y+9NmUN+m57nfd9dtfkLH0HCmyXMorA3rGD4vf5dft7K4kCq0MPp9zv35veZ5j7V9dpQ xmdQrww1eS0fy1UZ8kQkkH3I9QDpmB+3bzO+Cy3Tlf2g647daecpEIkR2+RguYUp0Vkr PCUg== 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 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 y12si9700985edf.435.2020.04.15.00.05.34; Wed, 15 Apr 2020 00:05:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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: best guess record for 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 S2390577AbgDNAv3 (ORCPT + 99 others); Mon, 13 Apr 2020 20:51:29 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56522 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728289AbgDNAv1 (ORCPT ); Mon, 13 Apr 2020 20:51:27 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 825601A0247; Tue, 14 Apr 2020 02:51:24 +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 DAB5A1A023F; Tue, 14 Apr 2020 02:51:18 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CB1474028B; Tue, 14 Apr 2020 08:51:11 +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 v7 0/7] ASoC: Add new module driver for new ASRC Date: Tue, 14 Apr 2020 08:43:02 +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 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 | 310 +-- 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 | 2119 +++++++++++++++++ sound/soc/fsl/fsl_easrc.h | 651 +++++ 11 files changed, 3222 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