mbox series

[0/4] ASoC: SOF: Intel: improve and extend HDaudio-based wakes

Message ID 20240404190357.138073-1-pierre-louis.bossart@linux.intel.com (mailing list archive)
Headers show
Series ASoC: SOF: Intel: improve and extend HDaudio-based wakes | expand

Message

Pierre-Louis Bossart April 4, 2024, 7:03 p.m. UTC
For LunarLake, the SoundWire in-band wake detection is reported with
the HDAudio WAKE_EN/WAKE_STS registers. In the existing code, these
registers are only handled for HDaudio codecs. Now the same registers
have to be handled with care as shared resources.

The in-band wake detection mainly used for jack detection. Without
this patchset, the SoundWire headset codecs signal an event that would
be ignored and not reported.

Pierre-Louis Bossart (4):
  ASoC: SOF: Intel: hda-ctrl: add missing WAKE_STS clear
  ASoC: SOF: Intel: lnl: add helper to detect SoundWire wakes
  ASoC: SOF: Intel: hda-codec: preserve WAKEEN values
  ASoC: SOF: Intel: hda-ctrl: only clear WAKESTS for HDaudio codecs

 sound/soc/sof/intel/hda-codec.c | 15 ++++++++++++---
 sound/soc/sof/intel/hda-ctrl.c  |  9 ++++++++-
 sound/soc/sof/intel/lnl.c       | 18 ++++++++++++++++++
 3 files changed, 38 insertions(+), 4 deletions(-)

Comments

Mark Brown April 5, 2024, 11:20 p.m. UTC | #1
On Thu, 04 Apr 2024 14:03:53 -0500, Pierre-Louis Bossart wrote:
> For LunarLake, the SoundWire in-band wake detection is reported with
> the HDAudio WAKE_EN/WAKE_STS registers. In the existing code, these
> registers are only handled for HDaudio codecs. Now the same registers
> have to be handled with care as shared resources.
> 
> The in-band wake detection mainly used for jack detection. Without
> this patchset, the SoundWire headset codecs signal an event that would
> be ignored and not reported.
> 
> [...]

Applied to

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

Thanks!

[1/4] ASoC: SOF: Intel: hda-ctrl: add missing WAKE_STS clear
      commit: bd5863f9ef12e26c2cfdce9c0adbf0222c731a3c
[2/4] ASoC: SOF: Intel: lnl: add helper to detect SoundWire wakes
      commit: ab9182441ee5a94dd6f47743ed1b7b6b07b63cb2
[3/4] ASoC: SOF: Intel: hda-codec: preserve WAKEEN values
      commit: b69480edf4eb71c6f754e3c4020e8dd72a330558
[4/4] ASoC: SOF: Intel: hda-ctrl: only clear WAKESTS for HDaudio codecs
      commit: 35b5806e2edee1741f6bd2de2a5c149a876c4a60

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