public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC: ti: davinci-mcasp: Add asynchronous mode support for McASP
@ 2026-02-03  0:36 Sen Wang
  2026-02-03  0:37 ` [PATCH v2 1/4] ASoC: dt-bindings: davinci-mcasp: Add properties for asynchronous mode Sen Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Sen Wang @ 2026-02-03  0:36 UTC (permalink / raw)
  To: peter.ujfalusi, broonie, lgirdwood, perex, tiwai, robh, krzk+dt,
	conor+dt
  Cc: linux-sound, devicetree, linux-kernel, Sen Wang

This series adds asynchronous mode support to the McASP driver, which
enables independent configuration of bitclocks, frame sync, and audio
configurations between tx(playback) and rx(record). And achieves
simultaneous playback & record using different audio configurations.

It also adds two clean up patches to the McASP driver that disambiguate
and simplifies the logic which avoids the async enhancement from being
too convoluted to review and analyze.

The implementation is based on vendor documentation and patches tested in
both SK-AM62P-LP (sync mode, McASP slave) and AM62D-EVM
(async mode, McASP master, rx & tx has different TDM configs).
Testing verifies async mode functionality while maintaining backward
compatibility with the default sync mode.

Bootlog and Async mode tests on AM62D-EVM: [0]

[0]: https://gist.github.com/SenWang125/f31f9172b186d414695e37c8b9ef127d

Signed-off-by: Sen Wang <sen@ti.com>

Changes in v2:
  - Corrected patch 1 subject title
  - Retained original order of operation in patch 3
  - Corrected code comments to use inclusive terminology in patch 4

Sen Wang (4):
  ASoC: dt-bindings: davinci-mcasp: Add properties for asynchronous mode
  ASoC: ti: davinci-mcasp: Disambiguate mcasp_is_synchronous function
  ASoC: ti: davinci-mcasp: Streamline pdir behavior across rx & tx streams
  ASoC: ti: davinci-mcasp: Add asynchronous mode support

 .../bindings/sound/davinci-mcasp-audio.yaml   |  71 ++-
 include/linux/platform_data/davinci_asp.h     |   3 +-
 sound/soc/ti/davinci-mcasp.c                  | 510 ++++++++++++++----
 sound/soc/ti/davinci-mcasp.h                  |  10 +
 4 files changed, 481 insertions(+), 113 deletions(-)


base-commit: dbf8fe85a16a33d6b6bd01f2bc606fc017771465
-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-02-05 11:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03  0:36 [PATCH v2 0/4] ASoC: ti: davinci-mcasp: Add asynchronous mode support for McASP Sen Wang
2026-02-03  0:37 ` [PATCH v2 1/4] ASoC: dt-bindings: davinci-mcasp: Add properties for asynchronous mode Sen Wang
2026-02-03  0:37 ` [PATCH v2 2/4] ASoC: ti: davinci-mcasp: Disambiguate mcasp_is_synchronous function Sen Wang
2026-02-03  0:37 ` [PATCH v2 3/4] ASoC: ti: davinci-mcasp: Streamline pdir behavior across rx & tx streams Sen Wang
2026-02-03  0:37 ` [PATCH v2 4/4] ASoC: ti: davinci-mcasp: Add asynchronous mode support Sen Wang
2026-02-04 11:44 ` [PATCH v2 0/4] ASoC: ti: davinci-mcasp: Add asynchronous mode support for McASP Paresh Bhagat
2026-02-04 16:05 ` Péter Ujfalusi
2026-02-05 11:04 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox