mbox series

[v2,00/18] ASoC: SOF: Intel: hda-mlink: HDaudio multi-link extension update

Message ID 20230404104127.5629-1-peter.ujfalusi@linux.intel.com (mailing list archive)
Headers show
Series ASoC: SOF: Intel: hda-mlink: HDaudio multi-link extension update | expand

Message

Peter Ujfalusi April 4, 2023, 10:41 a.m. UTC
Hi,

Changes since v1:
- Rename hda_bus_ml_get_capabilities() to hda_bus_ml_init() - patch 06/18
- Rename check_power_active() to check_sublink_power() and the parameter from
  enable to enabled - patch 08/18

Not changed: the poll timeout implementation for now, as Pierre mentioned it can
be done at a later time.

Cover letter:

The following series adds the core support to handle the recently updated
HDaudio multi-link support to hanlde non HDA links, like SoundWire/DMIC/SSP on
Intel platform.

For details, please see the first patch which documents the current mlink
support (introduced at Skylake) and the new extensions, arriving with LNL.

There is no change in functionality for existing HDA support, the extension is
backwards compatible with existing implementations.

Regards,
Peter
---
Pierre-Louis Bossart (18):
  Documentation: sound: add description of Intel HDaudio multi-links
  ALSA: hda: add HDaudio Extended link definitions
  ASoC: SOF: Intel: hda-mlink: improve hda_bus_ml_free() helper
  ASoC: SOF: Intel: hda-mlink: add return value for
    hda_bus_ml_get_capabilities()
  ASoC: SOF: Intel: hda-mlink: move to a dedicated module
  ASoC: SOF: Intel: hda-mlink: add structures to parse ALT links
  ASoC: SOF: Intel: hda-mlink: special-case HDaudio regular links
  ASoC: SOF: Intel: hda-mlink: introduce helpers for 'extended links' PM
  ASoC: SOF: Intel: hda-mlink: add convenience helpers for SoundWire PM
  ASoC: SOF: Intel: hda-mlink: add helper to return sublink count
  ASoC: SOF: Intel: hda-mlink: add helpers to enable/check interrupts
  ASoC: SOF: Intel: hda-mlink: add helpers to set link SYNC frequency
  ASoC: SOF: Intel: hda-mlink: add helpers for sync_arm/sync_go
  ASoC: SOF: Intel: hda-mlink: add helper to check cmdsync
  ASoC: SOF: Intel: hda-mlink: program SoundWire LSDIID registers
  ASoC: SOF: Intel: hda-mlink: add helpers to retrieve DMIC/SSP hlink
  ASoC: SOF: Intel: hda-mlink: add helper to offload link ownership
  ASoC: SOF: Intel: hda-mlink: add helper to retrieve eml_lock

 Documentation/sound/hd-audio/index.rst        |   1 +
 .../sound/hd-audio/intel-multi-link.rst       | 312 +++++++
 include/sound/hda-mlink.h                     | 166 ++++
 include/sound/hda_register.h                  |  40 +-
 sound/soc/sof/intel/Kconfig                   |   7 +
 sound/soc/sof/intel/Makefile                  |   5 +-
 sound/soc/sof/intel/hda-ctrl.c                |   1 +
 sound/soc/sof/intel/hda-dsp.c                 |   1 +
 sound/soc/sof/intel/hda-mlink.c               | 822 +++++++++++++++++-
 sound/soc/sof/intel/hda.c                     |   4 +-
 sound/soc/sof/intel/hda.h                     |  20 -
 11 files changed, 1332 insertions(+), 47 deletions(-)
 create mode 100644 Documentation/sound/hd-audio/intel-multi-link.rst
 create mode 100644 include/sound/hda-mlink.h

Comments

Takashi Iwai April 6, 2023, 3:41 p.m. UTC | #1
On Tue, 04 Apr 2023 12:41:09 +0200,
Peter Ujfalusi wrote:
> 
> Hi,
> 
> Changes since v1:
> - Rename hda_bus_ml_get_capabilities() to hda_bus_ml_init() - patch 06/18
> - Rename check_power_active() to check_sublink_power() and the parameter from
>   enable to enabled - patch 08/18
> 
> Not changed: the poll timeout implementation for now, as Pierre mentioned it can
> be done at a later time.
> 
> Cover letter:
> 
> The following series adds the core support to handle the recently updated
> HDaudio multi-link support to hanlde non HDA links, like SoundWire/DMIC/SSP on
> Intel platform.
> 
> For details, please see the first patch which documents the current mlink
> support (introduced at Skylake) and the new extensions, arriving with LNL.
> 
> There is no change in functionality for existing HDA support, the extension is
> backwards compatible with existing implementations.
> 
> Regards,
> Peter

Reviewed-by: Takashi Iwai <tiwai@suse.de>


thanks,

Takashi
Mark Brown April 11, 2023, 6:48 p.m. UTC | #2
On Tue, 04 Apr 2023 13:41:09 +0300, Peter Ujfalusi wrote:
> Changes since v1:
> - Rename hda_bus_ml_get_capabilities() to hda_bus_ml_init() - patch 06/18
> - Rename check_power_active() to check_sublink_power() and the parameter from
>   enable to enabled - patch 08/18
> 
> Not changed: the poll timeout implementation for now, as Pierre mentioned it can
> be done at a later time.
> 
> [...]

Applied to

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

Thanks!

[01/18] Documentation: sound: add description of Intel HDaudio multi-links
        commit: c7a92574ec03692a057db541db12e41744a862fa
[02/18] ALSA: hda: add HDaudio Extended link definitions
        commit: 34e582b559c78746c544442b3925554e0665351b
[03/18] ASoC: SOF: Intel: hda-mlink: improve hda_bus_ml_free() helper
        commit: 8a55786a1875bd0b9c22156e800557a931baacb8
[04/18] ASoC: SOF: Intel: hda-mlink: add return value for hda_bus_ml_get_capabilities()
        commit: 68376a3ef41f0a2d6c1c603e7293ba0e00b293da
[05/18] ASoC: SOF: Intel: hda-mlink: move to a dedicated module
        commit: 18227585d8374ce16d3a2792deb125794710de43
[06/18] ASoC: SOF: Intel: hda-mlink: add structures to parse ALT links
        commit: 17c9b6ec35c0d6228db4f94590702a0cb03cd96a
[07/18] ASoC: SOF: Intel: hda-mlink: special-case HDaudio regular links
        commit: 4c2d4e446d5673db2c653a6e53ca9be908582c4e
[08/18] ASoC: SOF: Intel: hda-mlink: introduce helpers for 'extended links' PM
        commit: fc7dab8ec0b4a451dd5737aa4f06a0e8bd6efa32
[09/18] ASoC: SOF: Intel: hda-mlink: add convenience helpers for SoundWire PM
        commit: 725218f1d8210ee6eba2c2e923ea26a312fb3f46
[10/18] ASoC: SOF: Intel: hda-mlink: add helper to return sublink count
        commit: 6857c7ee202cf4b8224882bcee8e3b97c26b6484
[11/18] ASoC: SOF: Intel: hda-mlink: add helpers to enable/check interrupts
        commit: 2e4288319ad3e18a266461d3e63c86eb36f7a152
[12/18] ASoC: SOF: Intel: hda-mlink: add helpers to set link SYNC frequency
        commit: 02ba1b021c28670011b361be3be4bda49f348c43
[13/18] ASoC: SOF: Intel: hda-mlink: add helpers for sync_arm/sync_go
        commit: 1f5a6e8b5147b7bc49c0e091f8b458e45d8ee56c
[14/18] ASoC: SOF: Intel: hda-mlink: add helper to check cmdsync
        commit: d56d205857a2f6e10a1047532134321072f758b7
[15/18] ASoC: SOF: Intel: hda-mlink: program SoundWire LSDIID registers
        commit: 87a6ddc0cf1c62dbc7c2cc4b5f764a2e992c5ba6
[16/18] ASoC: SOF: Intel: hda-mlink: add helpers to retrieve DMIC/SSP hlink
        commit: 2b864e969be29958eb810fb611d1eac50eb7104b
[17/18] ASoC: SOF: Intel: hda-mlink: add helper to offload link ownership
        commit: 82958c406da4fec8f818826624c33cf2e62f4147
[18/18] ASoC: SOF: Intel: hda-mlink: add helper to retrieve eml_lock
        commit: 681f27f302ff85ddf3f6e7fd0231059f99c0f26e

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