mbox series

[0/8] ASoC/soundwire: revisit interrupt and lcount handling

Message ID 20221111042653.45520-1-yung-chuan.liao@linux.intel.com (mailing list archive)
Headers show
Series ASoC/soundwire: revisit interrupt and lcount handling | expand

Message

Bard Liao Nov. 11, 2022, 4:26 a.m. UTC
The code in drivers/soundwire/intel_init.c is hardware-dependent and the
code does not apply to new generations starting with MeteorLake. Refactor
and clean-up the code to make this intel_init.c hardware-agnostic and
move all hardware-dependencies in the SOF driver using chip descriptors.

The ASoC patches are dependent on some patches that are applied to ASoC
tree recently. So, this series won't apply to SoundWire tree. @Vinod Could
you Ack if it looks good to you, and lets go through ASoC tree?

Pierre-Louis Bossart (8):
  soundwire: intel_init: remove useless interrupt enablement in
    interrupt thread
  ASoC: SOF: Intel: hda: add per-chip enable_sdw_irq() callback
  ASoC: SOF: Intel: mtl: factor interrupt enable/disable interrupt
    functions
  ASoC: SOF: Intel: mtl: move SoundWire interrupt enabling to callback
  ASoC: SOF: Intel: hda: add callback to check SoundWire lcount
    information
  soundwire: intel_init: remove sdw_intel_enable_irq()
  soundwire: intel_init: remove check on number of links
  ASoC: SOF: Intel: hda: read multi-link capabilities earlier

 drivers/soundwire/intel_init.c      |  37 --------
 include/linux/soundwire/sdw_intel.h |   2 -
 sound/soc/sof/intel/cnl.c           |   4 +
 sound/soc/sof/intel/hda.c           |  63 ++++++++++++-
 sound/soc/sof/intel/hda.h           |  12 +++
 sound/soc/sof/intel/icl.c           |   2 +
 sound/soc/sof/intel/mtl.c           | 131 +++++++++++-----------------
 sound/soc/sof/intel/shim.h          |   2 +
 sound/soc/sof/intel/tgl.c           |   8 ++
 9 files changed, 139 insertions(+), 122 deletions(-)

Comments

Mark Brown Nov. 25, 2022, 2:26 p.m. UTC | #1
On Fri, 11 Nov 2022 12:26:45 +0800, Bard Liao wrote:
> The code in drivers/soundwire/intel_init.c is hardware-dependent and the
> code does not apply to new generations starting with MeteorLake. Refactor
> and clean-up the code to make this intel_init.c hardware-agnostic and
> move all hardware-dependencies in the SOF driver using chip descriptors.
> 
> The ASoC patches are dependent on some patches that are applied to ASoC
> tree recently. So, this series won't apply to SoundWire tree. @Vinod Could
> you Ack if it looks good to you, and lets go through ASoC tree?
> 
> [...]

Applied to

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

Thanks!

[1/8] soundwire: intel_init: remove useless interrupt enablement in interrupt thread
      commit: c5e5da1eb3d3009ed861f1514b41bec323c191d1
[2/8] ASoC: SOF: Intel: hda: add per-chip enable_sdw_irq() callback
      commit: 8ebc90741e96646af7320336ac4433eea175390a
[3/8] ASoC: SOF: Intel: mtl: factor interrupt enable/disable interrupt functions
      commit: 00f4f3380745da4950de2bf65f15af767d54dfe1
[4/8] ASoC: SOF: Intel: mtl: move SoundWire interrupt enabling to callback
      commit: aa70a580930a42781f57ac0d8b281ed2f6b0d8ec
[5/8] ASoC: SOF: Intel: hda: add callback to check SoundWire lcount information
      commit: 625339caaea15c0e69d833227652d2f5b6e365cc
[6/8] soundwire: intel_init: remove sdw_intel_enable_irq()
      commit: 562bb228cebea475cc967c4a53df97ca62aa90b5
[7/8] soundwire: intel_init: remove check on number of links
      commit: 2cd24c318cc943b54cbd2d855cee798314619c4e
[8/8] ASoC: SOF: Intel: hda: read multi-link capabilities earlier
      commit: 5e2cbc4a813e866885f812f1b64fdf33a9a16700

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