From: Sameer Pujar <spujar@nvidia.com>
To: <broonie@kernel.org>, <robh+dt@kernel.org>, <krzk+dt@kernel.org>,
<thierry.reding@gmail.com>, <lgirdwood@gmail.com>,
<perex@perex.cz>, <tiwai@suse.com>
Cc: <jonathanh@nvidia.com>, <catalin.marinas@arm.com>,
<will@kernel.org>, <alsa-devel@alsa-project.org>,
<devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Sameer Pujar <spujar@nvidia.com>
Subject: [PATCH v2 0/6] ASRC support on Tegra186 and later
Date: Thu, 31 Mar 2022 19:33:26 +0530 [thread overview]
Message-ID: <1648735412-32220-1-git-send-email-spujar@nvidia.com> (raw)
This series adds support for Asynchronous Sample Rate Converter (ASRC)
module on Tegra186 and later generations of SoCs. ASRC is a client of
AHUB. The driver and DT support is added to make it work with Tegra
audio graph card. The module can be plugged into audio path using ALSA
mixer controls.
ASRC supports two modes of operation, where it gets the ratio info
from SW and ratio detector module. Presently the support is added for
SW mode.
Changelog:
==========
v1 -> v2:
---------
* Updatated RPM resume call in ASRC driver. Specific register
sequence programming is done before regcache sync.
* Fixed return values of mixer control put() callbacks in
ASRC driver.
* No changes in other patches.
Sameer Pujar (6):
ASoC: tegra: Add binding doc for ASRC module
ASoC: tegra: Add Tegra186 based ASRC driver
ASoC: tegra: AHUB routes for ASRC module
arm64: defconfig: Build Tegra ASRC module
arm64: tegra: Add ASRC device on Tegra186 and later
arm64: tegra: Enable ASRC on various platforms
.../bindings/sound/nvidia,tegra186-asrc.yaml | 81 ++
.../bindings/sound/nvidia,tegra210-ahub.yaml | 4 +
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 223 +++++
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 7 +
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 223 +++++
.../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi | 223 +++++
arch/arm64/boot/dts/nvidia/tegra194.dtsi | 8 +
.../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 223 +++++
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 +
arch/arm64/configs/defconfig | 1 +
sound/soc/tegra/Kconfig | 12 +
sound/soc/tegra/Makefile | 2 +
sound/soc/tegra/tegra186_asrc.c | 1046 ++++++++++++++++++++
sound/soc/tegra/tegra186_asrc.h | 112 +++
sound/soc/tegra/tegra210_ahub.c | 82 +-
15 files changed, 2254 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra186-asrc.yaml
create mode 100644 sound/soc/tegra/tegra186_asrc.c
create mode 100644 sound/soc/tegra/tegra186_asrc.h
--
2.7.4
next reply other threads:[~2022-03-31 14:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-31 14:03 Sameer Pujar [this message]
2022-03-31 14:03 ` [PATCH v2 1/6] ASoC: tegra: Add binding doc for ASRC module Sameer Pujar
2022-03-31 14:03 ` [PATCH v2 2/6] ASoC: tegra: Add Tegra186 based ASRC driver Sameer Pujar
2022-03-31 14:03 ` [PATCH v2 3/6] ASoC: tegra: AHUB routes for ASRC module Sameer Pujar
2022-03-31 14:03 ` [PATCH v2 4/6] arm64: defconfig: Build Tegra " Sameer Pujar
2022-03-31 14:03 ` [PATCH v2 5/6] arm64: tegra: Add ASRC device on Tegra186 and later Sameer Pujar
2022-03-31 14:03 ` [PATCH v2 6/6] arm64: tegra: Enable ASRC on various platforms Sameer Pujar
2022-04-05 9:31 ` (subset) [PATCH v2 0/6] ASRC support on Tegra186 and later Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1648735412-32220-1-git-send-email-spujar@nvidia.com \
--to=spujar@nvidia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=tiwai@suse.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).