mbox series

[v4,00/16] SoundWire/ASoC: add SDW BPT/BRA support

Message ID 20250227140615.8147-1-yung-chuan.liao@linux.intel.com (mailing list archive)
Headers show
Series SoundWire/ASoC: add SDW BPT/BRA support | expand

Message

Bard Liao Feb. 27, 2025, 2:05 p.m. UTC
This series adds support for SoundWire BPT/BRA. The change is mainly on
the SoundWire tree. It is better to go through the SoundWire tree with
Mark's Acked-by tag.

v2:
 - Add MODULE_DESCRIPTION in the "ASoC: SOF: Intel: hda-sdw-bpt: add
   helpers for SoundWire BPT DMA" patch.

v3:
 - Change sdw_cdns_write_pdi1_buffer_size and
   sdw_cdns_read_pdi0_buffer_size to static values.

v4:
 - Revise bra.rst as suggested.

Bard Liao (1):
  ASoC: SOF: Intel: hda-sdw-bpt: add CHAIN_DMA support

Pierre-Louis Bossart (15):
  Documentation: driver: add SoundWire BRA description
  soundwire: cadence: add BTP support for DP0
  soundwire: extend sdw_stream_type to BPT
  soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter
  soundwire: stream: special-case the bus compute_params() routine
  soundwire: stream: reuse existing code for BPT stream
  soundwire: bus: add send_async/wait APIs for BPT protocol
  soundwire: bus: add bpt_stream pointer
  soundwire: cadence: add BTP/BRA helpers to format data
  soundwire: intel_auxdevice: add indirection for BPT send_async/wait
  ASoC: SOF: Intel: hda-sdw-bpt: add helpers for SoundWire BPT DMA
  soundwire: intel: add BPT context definition
  soundwire: intel_ace2x: add BPT send_async/wait callbacks
  soundwire: debugfs: add interface for BPT/BRA transfers
  ASoC: rt711-sdca: add DP0 support

 Documentation/driver-api/soundwire/bra.rst    | 336 +++++++++
 .../driver-api/soundwire/bra_cadence.rst      |  67 ++
 Documentation/driver-api/soundwire/index.rst  |   2 +
 Documentation/driver-api/soundwire/stream.rst |   2 +-
 .../driver-api/soundwire/summary.rst          |   8 -
 drivers/soundwire/Kconfig                     |   1 +
 drivers/soundwire/bus.c                       |  43 ++
 drivers/soundwire/bus.h                       |  18 +
 drivers/soundwire/cadence_master.c            | 646 +++++++++++++++++-
 drivers/soundwire/cadence_master.h            |  20 +
 drivers/soundwire/debugfs.c                   |  84 ++-
 .../soundwire/generic_bandwidth_allocation.c  |  48 ++
 drivers/soundwire/intel.h                     |  23 +
 drivers/soundwire/intel_ace2x.c               | 312 +++++++++
 drivers/soundwire/intel_auxdevice.c           |  24 +
 drivers/soundwire/stream.c                    | 140 +++-
 include/linux/soundwire/sdw.h                 |  33 +-
 include/linux/soundwire/sdw_intel.h           |   4 +
 include/sound/hda-sdw-bpt.h                   |  69 ++
 sound/soc/codecs/rt711-sdca-sdw.c             |   8 +
 sound/soc/qcom/sdw.c                          |   2 +-
 sound/soc/sof/intel/Kconfig                   |   7 +
 sound/soc/sof/intel/Makefile                  |   4 +
 sound/soc/sof/intel/hda-sdw-bpt.c             | 445 ++++++++++++
 24 files changed, 2282 insertions(+), 64 deletions(-)
 create mode 100644 Documentation/driver-api/soundwire/bra.rst
 create mode 100644 Documentation/driver-api/soundwire/bra_cadence.rst
 create mode 100644 include/sound/hda-sdw-bpt.h
 create mode 100644 sound/soc/sof/intel/hda-sdw-bpt.c

Comments

Shuming [θŒƒζ›ΈιŠ˜] March 3, 2025, 1:50 a.m. UTC | #1
> This series adds support for SoundWire BPT/BRA. The change is mainly on the
> SoundWire tree. It is better to go through the SoundWire tree with Mark's
> Acked-by tag.
> 
> v2:
>  - Add MODULE_DESCRIPTION in the "ASoC: SOF: Intel: hda-sdw-bpt: add
>    helpers for SoundWire BPT DMA" patch.
> 
> v3:
>  - Change sdw_cdns_write_pdi1_buffer_size and
>    sdw_cdns_read_pdi0_buffer_size to static values.
> 
> v4:
>  - Revise bra.rst as suggested.
> 
> Bard Liao (1):
>   ASoC: SOF: Intel: hda-sdw-bpt: add CHAIN_DMA support
> 
> Pierre-Louis Bossart (15):
>   Documentation: driver: add SoundWire BRA description
>   soundwire: cadence: add BTP support for DP0
>   soundwire: extend sdw_stream_type to BPT
>   soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter
>   soundwire: stream: special-case the bus compute_params() routine
>   soundwire: stream: reuse existing code for BPT stream
>   soundwire: bus: add send_async/wait APIs for BPT protocol
>   soundwire: bus: add bpt_stream pointer
>   soundwire: cadence: add BTP/BRA helpers to format data
>   soundwire: intel_auxdevice: add indirection for BPT send_async/wait
>   ASoC: SOF: Intel: hda-sdw-bpt: add helpers for SoundWire BPT DMA
>   soundwire: intel: add BPT context definition
>   soundwire: intel_ace2x: add BPT send_async/wait callbacks
>   soundwire: debugfs: add interface for BPT/BRA transfers
>   ASoC: rt711-sdca: add DP0 support

Tested-by: shumingf@realtek.com
Vinod Koul March 10, 2025, 7:06 a.m. UTC | #2
On Thu, 27 Feb 2025 22:05:59 +0800, Bard Liao wrote:
> This series adds support for SoundWire BPT/BRA. The change is mainly on
> the SoundWire tree. It is better to go through the SoundWire tree with
> Mark's Acked-by tag.
> 
> v2:
>  - Add MODULE_DESCRIPTION in the "ASoC: SOF: Intel: hda-sdw-bpt: add
>    helpers for SoundWire BPT DMA" patch.
> 
> [...]

Applied, thanks!

[01/16] Documentation: driver: add SoundWire BRA description
        commit: 3641c6392695b0846e80a4c1245d7139c8ed7d48
[02/16] soundwire: cadence: add BTP support for DP0
        commit: 3e3ae0c8fccc51021136b192ec88e94a1bc5704c
[03/16] soundwire: extend sdw_stream_type to BPT
        commit: df896e4f7cf5cc3abffb186e2b6815b785500b57
[04/16] soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter
        commit: dc90bbefa792031d89fe2af9ad4a6febd6be96a9
[05/16] soundwire: stream: special-case the bus compute_params() routine
        commit: 00f57195f10fa7e2fa2ceeac0b2768ae544fee2e
[06/16] soundwire: stream: reuse existing code for BPT stream
        commit: b422b7237ead30bfb90f52c7563ef518a5849cd9
[07/16] soundwire: bus: add send_async/wait APIs for BPT protocol
        commit: 9a756289ac5a8517dc643555d784d830b61576ad
[08/16] soundwire: bus: add bpt_stream pointer
        commit: 8e4a239b403bd8aed8787798de8e4e42f79246c2
[09/16] soundwire: cadence: add BTP/BRA helpers to format data
        commit: 8eb5d7ade8b1ed1678cdc5340ef3f6d346eed9be
[10/16] soundwire: intel_auxdevice: add indirection for BPT send_async/wait
        commit: 7f17a73a7dd8252aa88c6f5e23310861de3d5423
[11/16] ASoC: SOF: Intel: hda-sdw-bpt: add helpers for SoundWire BPT DMA
        commit: 5d5cb86fb46ea1c7efd3b894f63fe364e5847043
[12/16] soundwire: intel: add BPT context definition
        commit: 5cdc23764da8be3c1b2c022ddce95dd8e49673da
[13/16] soundwire: intel_ace2x: add BPT send_async/wait callbacks
        commit: 4c1ce9f37d8a809dcdfba082cc9003880efa0a63
[14/16] ASoC: SOF: Intel: hda-sdw-bpt: add CHAIN_DMA support
        commit: 3394e2b125043aeede344d28fc73b3c0d2a5c21f
[15/16] soundwire: debugfs: add interface for BPT/BRA transfers
        commit: bb5cb09eedce756eaeb66c69b6dac0f16e464e24
[16/16] ASoC: rt711-sdca: add DP0 support
        commit: 9452422fc321f105a38435bc72afe5fd2c51882b

Best regards,