ASoC: ti: davinci-mcasp: Add asynchronous mode support for McASP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesIn review
- v14 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Corrected patch 1 subject title
- Retained original order of operation in patch 3
- Corrected code comments to use inclusive terminology in patch 4
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ASoC: dt-bindings: davinci-mcasp: Add properties for asynchronous modeDocumentation/ | +66 | 0 replies | |
| 2/4 | ASoC: ti: davinci-mcasp: Disambiguate mcasp_is_synchronous functionsound/ | +14 | 0 replies | |
| 3/4 | ASoC: ti: davinci-mcasp: Streamline pdir behavior across rx & tx streamssound/ | +4 | 0 replies | |
| 4/4 | ASoC: ti: davinci-mcasp: Add asynchronous mode supportinclude/ sound/ sound/ | +401 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Ujfalusi | Paresh Bhagat |
|---|---|---|
| Series | A-b | T-b |
| 1/4 | ||
| 2/4 | A-b | |
| 3/4 | ||
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] ASoC: ti: davinci-mcasp: Add asynchronous mode support for McASP
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
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
Signature · 1 line
2.43.0