From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sameer Pujar Subject: Re: [PATCH 0/9] add ASoC components for AHUB Date: Tue, 28 Jan 2020 16:19:49 +0530 Message-ID: <81db77b5-a65a-eafe-d42d-947c38ea1d3c@nvidia.com> References: <1579530198-13431-1-git-send-email-spujar@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1579530198-13431-1-git-send-email-spujar-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Content-Language: en-GB Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: perex-/Fr2/VpizcU@public.gmane.org, tiwai-IBi9RG/b67k@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Cc: spujar-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, sharadg-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, mkumard-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, viswanathl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, rlokhande-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, dramesh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, atalambedu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On 1/20/2020 7:53 PM, Sameer Pujar wrote: > Overview > ======== > The Audio Hub (AHUB) is part of the Audio Processing Engine (APE) which > comprises a collection of hardware accelerators for audio pre-processing > and post-processing. It also includes a programmable full crossbar for > routing audio data across these accelerators. > > This series exposes some of these below mentioned HW devices as ASoC > components for Tegra platforms from Tegra210 onwards. > * ADMAIF : The interface between ADMA and AHUB > * XBAR : Crossbar for routing audio samples across various modules > * I2S : Inter-IC Sound Controller > * DMIC : Digital Microphone > * DSPK : Digital Speaker > > Following is the summary of current series. > 1. Add YAML DT binding documentation for above mentioned modules. > 2. ACIF programming is same for Tegra generations and hence it is moved > to a common file. > 3. Add ASoC driver components for each of the above modules. > 4. Add DT entries for above components for Tegra210, Tegra186 and > Tegra194. > 5. Enable these components for Jetson-Tx1, Jetson-Tx2 and > Jetson-Xavier. > > Machine driver series will be sent separately. > > Sameer Pujar (9): > dt-bindings: sound: tegra: add DT binding for AHUB > ASoC: tegra: add support for CIF programming > ASoC: tegra: add Tegra210 based DMIC driver > ASoC: tegra: add Tegra210 based I2S driver > ASoC: tegra: add Tegra210 based AHUB driver > ASoC: tegra: add Tegra186 based DSPK driver > ASoC: tegra: add Tegra210 based ADMAIF driver > arm64: tegra: add AHUB components for few Tegra chips > arm64: tegra: enable AHUB modules for few Tegra chips If any comments on the series, please let me know. I am planning to publish v2 based on the discussion we had in v1. Thanks, Sameer. > > .../bindings/sound/nvidia,tegra186-dspk.yaml | 105 +++ > .../bindings/sound/nvidia,tegra210-admaif.yaml | 165 ++++ > .../bindings/sound/nvidia,tegra210-ahub.yaml | 130 +++ > .../bindings/sound/nvidia,tegra210-dmic.yaml | 105 +++ > .../bindings/sound/nvidia,tegra210-i2s.yaml | 112 +++ > arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 48 ++ > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 231 ++++- > arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 36 + > arch/arm64/boot/dts/nvidia/tegra194.dtsi | 239 +++++- > arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 40 + > arch/arm64/boot/dts/nvidia/tegra210.dtsi | 145 ++++ > sound/soc/tegra/Kconfig | 56 ++ > sound/soc/tegra/Makefile | 12 + > sound/soc/tegra/tegra186_dspk.c | 516 +++++++++++ > sound/soc/tegra/tegra186_dspk.h | 73 ++ > sound/soc/tegra/tegra210_admaif.c | 896 ++++++++++++++++++++ > sound/soc/tegra/tegra210_admaif.h | 164 ++++ > sound/soc/tegra/tegra210_ahub.c | 667 +++++++++++++++ > sound/soc/tegra/tegra210_ahub.h | 125 +++ > sound/soc/tegra/tegra210_dmic.c | 522 ++++++++++++ > sound/soc/tegra/tegra210_dmic.h | 85 ++ > sound/soc/tegra/tegra210_i2s.c | 941 +++++++++++++++++++++ > sound/soc/tegra/tegra210_i2s.h | 132 +++ > sound/soc/tegra/tegra30_ahub.c | 94 +- > sound/soc/tegra/tegra30_ahub.h | 129 --- > sound/soc/tegra/tegra30_i2s.c | 35 +- > sound/soc/tegra/tegra30_i2s.h | 7 - > sound/soc/tegra/tegra_cif.c | 34 + > sound/soc/tegra/tegra_cif.h | 50 ++ > sound/soc/tegra/tegra_pcm.c | 224 ++++- > sound/soc/tegra/tegra_pcm.h | 23 +- > 31 files changed, 5897 insertions(+), 244 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml > create mode 100644 sound/soc/tegra/tegra186_dspk.c > create mode 100644 sound/soc/tegra/tegra186_dspk.h > create mode 100644 sound/soc/tegra/tegra210_admaif.c > create mode 100644 sound/soc/tegra/tegra210_admaif.h > create mode 100644 sound/soc/tegra/tegra210_ahub.c > create mode 100644 sound/soc/tegra/tegra210_ahub.h > create mode 100644 sound/soc/tegra/tegra210_dmic.c > create mode 100644 sound/soc/tegra/tegra210_dmic.h > create mode 100644 sound/soc/tegra/tegra210_i2s.c > create mode 100644 sound/soc/tegra/tegra210_i2s.h > create mode 100644 sound/soc/tegra/tegra_cif.c > create mode 100644 sound/soc/tegra/tegra_cif.h > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80D9EC33CB3 for ; Tue, 28 Jan 2020 10:49:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 55D922467E for ; Tue, 28 Jan 2020 10:49:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="GGRf+pJA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726067AbgA1Kt6 (ORCPT ); Tue, 28 Jan 2020 05:49:58 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:18568 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgA1Kt6 (ORCPT ); Tue, 28 Jan 2020 05:49:58 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 28 Jan 2020 02:49:38 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 28 Jan 2020 02:49:57 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 28 Jan 2020 02:49:57 -0800 Received: from [10.24.44.92] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 28 Jan 2020 10:49:52 +0000 CC: , , , , , , , , , , , , , , Subject: Re: [PATCH 0/9] add ASoC components for AHUB To: , , References: <1579530198-13431-1-git-send-email-spujar@nvidia.com> From: Sameer Pujar Message-ID: <81db77b5-a65a-eafe-d42d-947c38ea1d3c@nvidia.com> Date: Tue, 28 Jan 2020 16:19:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1579530198-13431-1-git-send-email-spujar@nvidia.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1580208578; bh=YJZpPWHErsEBxHrNnw+7ltmiDCP3p5OqwD9FoVMZl8s=; h=X-PGP-Universal:CC:Subject:To:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding: Content-Language; b=GGRf+pJA/37DUqeFZZ+QEJAPVLUqv0jNTBrKfmNf2YcNL+Plv90d/EUA2GyQ0WlkJ 2gBm2anH62Us1wy83XjvFWA3paGGD6+vvwTYy3ob0Z3lDvUzYXJgpi76hGZdstJLNY TlKFdvAWxlEzRTniUUxcuCSqS5zxSpeb8YyacEN/j5YP6An8on6/mGvET9KigdUUuP q4BJMP7gjbjFaBCIZpzBYvrVmW7vz50OVO0ESrYLWAa7y/spVPoDWQEnIyTNI5Kj2U SWRXxbY3aplmFUi1+S/Q68oq281voufJaXEz3W7MYJgp4ADF6IIawhM3N3zf5eXnld gn9sOBGfTPjnA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/20/2020 7:53 PM, Sameer Pujar wrote: > Overview > ======== > The Audio Hub (AHUB) is part of the Audio Processing Engine (APE) which > comprises a collection of hardware accelerators for audio pre-processing > and post-processing. It also includes a programmable full crossbar for > routing audio data across these accelerators. > > This series exposes some of these below mentioned HW devices as ASoC > components for Tegra platforms from Tegra210 onwards. > * ADMAIF : The interface between ADMA and AHUB > * XBAR : Crossbar for routing audio samples across various modules > * I2S : Inter-IC Sound Controller > * DMIC : Digital Microphone > * DSPK : Digital Speaker > > Following is the summary of current series. > 1. Add YAML DT binding documentation for above mentioned modules. > 2. ACIF programming is same for Tegra generations and hence it is moved > to a common file. > 3. Add ASoC driver components for each of the above modules. > 4. Add DT entries for above components for Tegra210, Tegra186 and > Tegra194. > 5. Enable these components for Jetson-Tx1, Jetson-Tx2 and > Jetson-Xavier. > > Machine driver series will be sent separately. > > Sameer Pujar (9): > dt-bindings: sound: tegra: add DT binding for AHUB > ASoC: tegra: add support for CIF programming > ASoC: tegra: add Tegra210 based DMIC driver > ASoC: tegra: add Tegra210 based I2S driver > ASoC: tegra: add Tegra210 based AHUB driver > ASoC: tegra: add Tegra186 based DSPK driver > ASoC: tegra: add Tegra210 based ADMAIF driver > arm64: tegra: add AHUB components for few Tegra chips > arm64: tegra: enable AHUB modules for few Tegra chips If any comments on the series, please let me know. I am planning to publish v2 based on the discussion we had in v1. Thanks, Sameer. > > .../bindings/sound/nvidia,tegra186-dspk.yaml | 105 +++ > .../bindings/sound/nvidia,tegra210-admaif.yaml | 165 ++++ > .../bindings/sound/nvidia,tegra210-ahub.yaml | 130 +++ > .../bindings/sound/nvidia,tegra210-dmic.yaml | 105 +++ > .../bindings/sound/nvidia,tegra210-i2s.yaml | 112 +++ > arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 48 ++ > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 231 ++++- > arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 36 + > arch/arm64/boot/dts/nvidia/tegra194.dtsi | 239 +++++- > arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 40 + > arch/arm64/boot/dts/nvidia/tegra210.dtsi | 145 ++++ > sound/soc/tegra/Kconfig | 56 ++ > sound/soc/tegra/Makefile | 12 + > sound/soc/tegra/tegra186_dspk.c | 516 +++++++++++ > sound/soc/tegra/tegra186_dspk.h | 73 ++ > sound/soc/tegra/tegra210_admaif.c | 896 ++++++++++++++++++++ > sound/soc/tegra/tegra210_admaif.h | 164 ++++ > sound/soc/tegra/tegra210_ahub.c | 667 +++++++++++++++ > sound/soc/tegra/tegra210_ahub.h | 125 +++ > sound/soc/tegra/tegra210_dmic.c | 522 ++++++++++++ > sound/soc/tegra/tegra210_dmic.h | 85 ++ > sound/soc/tegra/tegra210_i2s.c | 941 +++++++++++++++++++++ > sound/soc/tegra/tegra210_i2s.h | 132 +++ > sound/soc/tegra/tegra30_ahub.c | 94 +- > sound/soc/tegra/tegra30_ahub.h | 129 --- > sound/soc/tegra/tegra30_i2s.c | 35 +- > sound/soc/tegra/tegra30_i2s.h | 7 - > sound/soc/tegra/tegra_cif.c | 34 + > sound/soc/tegra/tegra_cif.h | 50 ++ > sound/soc/tegra/tegra_pcm.c | 224 ++++- > sound/soc/tegra/tegra_pcm.h | 23 +- > 31 files changed, 5897 insertions(+), 244 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml > create mode 100644 sound/soc/tegra/tegra186_dspk.c > create mode 100644 sound/soc/tegra/tegra186_dspk.h > create mode 100644 sound/soc/tegra/tegra210_admaif.c > create mode 100644 sound/soc/tegra/tegra210_admaif.h > create mode 100644 sound/soc/tegra/tegra210_ahub.c > create mode 100644 sound/soc/tegra/tegra210_ahub.h > create mode 100644 sound/soc/tegra/tegra210_dmic.c > create mode 100644 sound/soc/tegra/tegra210_dmic.h > create mode 100644 sound/soc/tegra/tegra210_i2s.c > create mode 100644 sound/soc/tegra/tegra210_i2s.h > create mode 100644 sound/soc/tegra/tegra_cif.c > create mode 100644 sound/soc/tegra/tegra_cif.h > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A999C33C9E for ; Tue, 28 Jan 2020 10:53:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BB802467B for ; Tue, 28 Jan 2020 10:53:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="BA9sebP3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="GGRf+pJA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9BB802467B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 01F8A1684; Tue, 28 Jan 2020 11:52:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 01F8A1684 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1580208829; bh=VtYw28CQBsprO1rps+szL8/MrZwP3JXSmoQnmWAlE/I=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BA9sebP3oKJ3ijB/fJ00tedzi/rz7GQDhQ7+m9sTsIpSDRRKZFfCU8tdgrJg4EHYR lkTJ307nF4VRONdWq39aWegaFLKzMY5WdJM39DYW5yFH73Wy0JKv9PyAJkwM2S9FbG uqzs5rAs0hfqirkGKY5AUFQ4/sCX5DnUwtcGz3o0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B47CFF80278; Tue, 28 Jan 2020 11:50:04 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9BDCAF8027B; Tue, 28 Jan 2020 11:50:03 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B2A00F80274 for ; Tue, 28 Jan 2020 11:49:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B2A00F80274 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="GGRf+pJA" Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 28 Jan 2020 02:49:38 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 28 Jan 2020 02:49:57 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 28 Jan 2020 02:49:57 -0800 Received: from [10.24.44.92] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 28 Jan 2020 10:49:52 +0000 To: , , References: <1579530198-13431-1-git-send-email-spujar@nvidia.com> From: Sameer Pujar Message-ID: <81db77b5-a65a-eafe-d42d-947c38ea1d3c@nvidia.com> Date: Tue, 28 Jan 2020 16:19:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1579530198-13431-1-git-send-email-spujar@nvidia.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Language: en-GB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1580208578; bh=YJZpPWHErsEBxHrNnw+7ltmiDCP3p5OqwD9FoVMZl8s=; h=X-PGP-Universal:CC:Subject:To:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding: Content-Language; b=GGRf+pJA/37DUqeFZZ+QEJAPVLUqv0jNTBrKfmNf2YcNL+Plv90d/EUA2GyQ0WlkJ 2gBm2anH62Us1wy83XjvFWA3paGGD6+vvwTYy3ob0Z3lDvUzYXJgpi76hGZdstJLNY TlKFdvAWxlEzRTniUUxcuCSqS5zxSpeb8YyacEN/j5YP6An8on6/mGvET9KigdUUuP q4BJMP7gjbjFaBCIZpzBYvrVmW7vz50OVO0ESrYLWAa7y/spVPoDWQEnIyTNI5Kj2U SWRXxbY3aplmFUi1+S/Q68oq281voufJaXEz3W7MYJgp4ADF6IIawhM3N3zf5eXnld gn9sOBGfTPjnA== Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, atalambedu@nvidia.com, linux-kernel@vger.kernel.org, spujar@nvidia.com, lgirdwood@gmail.com, jonathanh@nvidia.com, viswanathl@nvidia.com, sharadg@nvidia.com, broonie@kernel.org, thierry.reding@gmail.com, linux-tegra@vger.kernel.org, rlokhande@nvidia.com, mkumard@nvidia.com, dramesh@nvidia.com Subject: Re: [alsa-devel] [PATCH 0/9] add ASoC components for AHUB X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 1/20/2020 7:53 PM, Sameer Pujar wrote: > Overview > ======== > The Audio Hub (AHUB) is part of the Audio Processing Engine (APE) which > comprises a collection of hardware accelerators for audio pre-processing > and post-processing. It also includes a programmable full crossbar for > routing audio data across these accelerators. > > This series exposes some of these below mentioned HW devices as ASoC > components for Tegra platforms from Tegra210 onwards. > * ADMAIF : The interface between ADMA and AHUB > * XBAR : Crossbar for routing audio samples across various modules > * I2S : Inter-IC Sound Controller > * DMIC : Digital Microphone > * DSPK : Digital Speaker > > Following is the summary of current series. > 1. Add YAML DT binding documentation for above mentioned modules. > 2. ACIF programming is same for Tegra generations and hence it is moved > to a common file. > 3. Add ASoC driver components for each of the above modules. > 4. Add DT entries for above components for Tegra210, Tegra186 and > Tegra194. > 5. Enable these components for Jetson-Tx1, Jetson-Tx2 and > Jetson-Xavier. > > Machine driver series will be sent separately. > > Sameer Pujar (9): > dt-bindings: sound: tegra: add DT binding for AHUB > ASoC: tegra: add support for CIF programming > ASoC: tegra: add Tegra210 based DMIC driver > ASoC: tegra: add Tegra210 based I2S driver > ASoC: tegra: add Tegra210 based AHUB driver > ASoC: tegra: add Tegra186 based DSPK driver > ASoC: tegra: add Tegra210 based ADMAIF driver > arm64: tegra: add AHUB components for few Tegra chips > arm64: tegra: enable AHUB modules for few Tegra chips If any comments on the series, please let me know. I am planning to publish v2 based on the discussion we had in v1. Thanks, Sameer. > > .../bindings/sound/nvidia,tegra186-dspk.yaml | 105 +++ > .../bindings/sound/nvidia,tegra210-admaif.yaml | 165 ++++ > .../bindings/sound/nvidia,tegra210-ahub.yaml | 130 +++ > .../bindings/sound/nvidia,tegra210-dmic.yaml | 105 +++ > .../bindings/sound/nvidia,tegra210-i2s.yaml | 112 +++ > arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 48 ++ > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 231 ++++- > arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 36 + > arch/arm64/boot/dts/nvidia/tegra194.dtsi | 239 +++++- > arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 40 + > arch/arm64/boot/dts/nvidia/tegra210.dtsi | 145 ++++ > sound/soc/tegra/Kconfig | 56 ++ > sound/soc/tegra/Makefile | 12 + > sound/soc/tegra/tegra186_dspk.c | 516 +++++++++++ > sound/soc/tegra/tegra186_dspk.h | 73 ++ > sound/soc/tegra/tegra210_admaif.c | 896 ++++++++++++++++++++ > sound/soc/tegra/tegra210_admaif.h | 164 ++++ > sound/soc/tegra/tegra210_ahub.c | 667 +++++++++++++++ > sound/soc/tegra/tegra210_ahub.h | 125 +++ > sound/soc/tegra/tegra210_dmic.c | 522 ++++++++++++ > sound/soc/tegra/tegra210_dmic.h | 85 ++ > sound/soc/tegra/tegra210_i2s.c | 941 +++++++++++++++++++++ > sound/soc/tegra/tegra210_i2s.h | 132 +++ > sound/soc/tegra/tegra30_ahub.c | 94 +- > sound/soc/tegra/tegra30_ahub.h | 129 --- > sound/soc/tegra/tegra30_i2s.c | 35 +- > sound/soc/tegra/tegra30_i2s.h | 7 - > sound/soc/tegra/tegra_cif.c | 34 + > sound/soc/tegra/tegra_cif.h | 50 ++ > sound/soc/tegra/tegra_pcm.c | 224 ++++- > sound/soc/tegra/tegra_pcm.h | 23 +- > 31 files changed, 5897 insertions(+), 244 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml > create mode 100644 sound/soc/tegra/tegra186_dspk.c > create mode 100644 sound/soc/tegra/tegra186_dspk.h > create mode 100644 sound/soc/tegra/tegra210_admaif.c > create mode 100644 sound/soc/tegra/tegra210_admaif.h > create mode 100644 sound/soc/tegra/tegra210_ahub.c > create mode 100644 sound/soc/tegra/tegra210_ahub.h > create mode 100644 sound/soc/tegra/tegra210_dmic.c > create mode 100644 sound/soc/tegra/tegra210_dmic.h > create mode 100644 sound/soc/tegra/tegra210_i2s.c > create mode 100644 sound/soc/tegra/tegra210_i2s.h > create mode 100644 sound/soc/tegra/tegra_cif.c > create mode 100644 sound/soc/tegra/tegra_cif.h > _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel