All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] SoundWire: intel: fix SHIM programming sequences
@ 2020-03-11 22:10 ` Pierre-Louis Bossart
  0 siblings, 0 replies; 36+ messages in thread
From: Pierre-Louis Bossart @ 2020-03-11 22:10 UTC (permalink / raw)
  To: alsa-devel
  Cc: linux-kernel, tiwai, broonie, vkoul, gregkh, jank,
	srinivas.kandagatla, slawomir.blauciak, Bard liao, Rander Wang,
	Ranjani Sridharan, Hui Wang, Pierre-Louis Bossart

The low-level register programming sequences contributed in
71bb8a1b059ecd ('soundwire: intel: Add Intel Master driver') do not
follow the internal documentation and recommended flows. It's anyone's
guess how the code might have worked. Fix and add all missing helpers
for clock-stop and hardware-based synchronization.

This patchset needs to be applied on top of "[PATCH 00/16] SoundWire:
cadence: add clock stop and fix programming sequences"

Reviewers might object that the code is provided without some required
initializations for mutexes and shim masks, they will be added as part
of the transition to sdw_master_device - still stuck as of 3/11.

Pierre-Louis Bossart (6):
  soundwire: intel: add helpers for link power down and shim wake
  soundwire: intel: reuse code for wait loops to set/clear bits
  soundwire: intel: add mutex to prevent concurrent access to SHIM
    registers
  soundwire: intel: add definitions for shim_mask
  soundwire: intel: introduce a helper to arm link synchronization
  soundwire: intel: introduce helper for link synchronization

Rander Wang (1):
  soundwire: intel: follow documentation sequences for SHIM registers

 drivers/soundwire/intel.c           | 342 ++++++++++++++++++++++------
 drivers/soundwire/intel.h           |   4 +
 include/linux/soundwire/sdw_intel.h |   2 +
 3 files changed, 277 insertions(+), 71 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2020-03-23 12:32 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 22:10 [PATCH 0/7] SoundWire: intel: fix SHIM programming sequences Pierre-Louis Bossart
2020-03-11 22:10 ` Pierre-Louis Bossart
2020-03-11 22:10 ` [PATCH 1/7] soundwire: intel: add helpers for link power down and shim wake Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart
2020-03-11 22:10 ` [PATCH 2/7] soundwire: intel: reuse code for wait loops to set/clear bits Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart
2020-03-20 13:38   ` Vinod Koul
2020-03-20 13:38     ` Vinod Koul
2020-03-11 22:10 ` [PATCH 3/7] soundwire: intel: add mutex to prevent concurrent access to SHIM registers Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart
2020-03-20 13:41   ` Vinod Koul
2020-03-20 13:41     ` Vinod Koul
2020-03-20 14:07     ` Pierre-Louis Bossart
2020-03-20 14:07       ` Pierre-Louis Bossart
2020-03-23 12:18       ` Vinod Koul
2020-03-23 12:18         ` Vinod Koul
2020-03-11 22:10 ` [PATCH 4/7] soundwire: intel: add definitions for shim_mask Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart
2020-03-20 13:42   ` Vinod Koul
2020-03-20 13:42     ` Vinod Koul
2020-03-20 14:13     ` Pierre-Louis Bossart
2020-03-20 14:13       ` Pierre-Louis Bossart
2020-03-23 12:28       ` Vinod Koul
2020-03-23 12:28         ` Vinod Koul
2020-03-11 22:10 ` [PATCH 5/7] soundwire: intel: follow documentation sequences for SHIM registers Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart
2020-03-20 13:51   ` Vinod Koul
2020-03-20 13:51     ` Vinod Koul
2020-03-20 14:20     ` Pierre-Louis Bossart
2020-03-20 14:20       ` Pierre-Louis Bossart
2020-03-23 12:31       ` Vinod Koul
2020-03-23 12:31         ` Vinod Koul
2020-03-11 22:10 ` [PATCH 6/7] soundwire: intel: introduce a helper to arm link synchronization Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart
2020-03-11 22:10 ` [PATCH 7/7] soundwire: intel: introduce helper for " Pierre-Louis Bossart
2020-03-11 22:10   ` Pierre-Louis Bossart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.