mbox series

[v2,0/6] ASRC support on Tegra186 and later

Message ID 1648735412-32220-1-git-send-email-spujar@nvidia.com
Headers show
Series ASRC support on Tegra186 and later | expand

Message

Sameer Pujar March 31, 2022, 2:03 p.m. UTC
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

Comments

Mark Brown April 5, 2022, 9:31 a.m. UTC | #1
On Thu, 31 Mar 2022 19:33:26 +0530, Sameer Pujar wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/6] ASoC: tegra: Add binding doc for ASRC module
      commit: c54ce1a17232215c4a518149292b41835992eee8
[2/6] ASoC: tegra: Add Tegra186 based ASRC driver
      commit: a2df8c2d5b36fc66b9a6e674f3e0c87c0b9d0a48
[3/6] ASoC: tegra: AHUB routes for ASRC module
      commit: 76821c139d7e0429845e7c0798747e7eec16ec83

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark