mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] soundwire: bus: re-enable CLOCK_STOP_MODE1 support
@ 2026-09-01  3:03 Bard Liao
  2026-09-01  3:03 ` [PATCH v2 1/3] soundwire: bus: add CLOCK_STOP_MODE1 support back Bard Liao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bard Liao @ 2026-09-01  3:03 UTC (permalink / raw)
  To: linux-sound, vkoul
  Cc: vinod.koul, linux-kernel, pierre-louis.bossart, peter.ujfalusi,
	bard.liao

Add CLOCK_STOP_MODE1 back to allow the peripheral to utilize it when
the clock is stopped.
This mode is designed for power-sensitive devices as it enables a deeper
power-saving state, although it does not retain the peripheral's state
during the clock stop.

v2:
 - check slave->probed before looking at the driver to avoid NULL pointer
   dereference.
 - add wake_enable parameter to stop_bus ops to stop the clock but keep the
   bus unwakeable during system suspend.

Bard Liao (3):
  soundwire: bus: add CLOCK_STOP_MODE1 support back
  soundwire: Intel: add wake_enable parameter to stop_bus ops
  soundwire: Intel: stop sdw clock in system suspend

 drivers/soundwire/bus.c              | 54 +++++++++++++++++-----------
 drivers/soundwire/intel.h            |  6 ++--
 drivers/soundwire/intel_auxdevice.c  |  7 ++--
 drivers/soundwire/intel_bus_common.c |  8 ++---
 include/linux/soundwire/sdw.h        |  4 +++
 include/linux/soundwire/sdw_intel.h  |  2 +-
 6 files changed, 50 insertions(+), 31 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-09-04  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01  3:03 [PATCH v2 0/3] soundwire: bus: re-enable CLOCK_STOP_MODE1 support Bard Liao
2026-09-01  3:03 ` [PATCH v2 1/3] soundwire: bus: add CLOCK_STOP_MODE1 support back Bard Liao
2026-09-01  3:03 ` [PATCH v2 2/3] soundwire: Intel: add wake_enable parameter to stop_bus ops Bard Liao
2026-09-01  3:03 ` [PATCH v2 3/3] soundwire: Intel: stop sdw clock in system suspend Bard Liao
2026-09-04  7:25 ` [PATCH v2 0/3] soundwire: bus: re-enable CLOCK_STOP_MODE1 support Pierre-Louis Bossart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®