Skip to content

ASRC support on Tegra186 and later

Sameer Pujar alsa-devel linux-arm-kernel linux-devicetree linux-tegra lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v16 patches 3 repliesSuperseded

Changes in v2 from the cover letter

---------
* 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: tegra: Add binding doc for ASRC moduleDocumentation/devicetree/bindings/sound/nvidia,tegra186-asrc.yaml Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml+85 -00 replies
2/6ASoC: tegra: Add Tegra186 based ASRC driversound/soc/tegra/Kconfig sound/soc/tegra/Makefile sound/soc/tegra/tegra186_asrc.c +1 more+1172 -00 replies
3/6ASoC: tegra: AHUB routes for ASRC modulesound/soc/tegra/tegra210_ahub.c+81 -10 replies
4/6arm64: defconfig: Build Tegra ASRC modulearch/arm64/configs/defconfig+1 -00 replies
5/6arm64: tegra: Add ASRC device on Tegra186 and laterarch/arm64/boot/dts/nvidia/tegra186.dtsi arch/arm64/boot/dts/nvidia/tegra194.dtsi arch/arm64/boot/dts/nvidia/tegra234.dtsi+23 -00 replies
6/6arm64: tegra: Enable ASRC on various platformsarch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +1 more+892 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] ASRC support on Tegra186 and later

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
Signature · 1 line
2.7.4