mbox series

[v2,0/3] soundwire: allow for more than 8 devices, keep IDA for wake-capable devices

Message ID 20230731091333.3593132-1-yung-chuan.liao@linux.intel.com
Headers show
Series soundwire: allow for more than 8 devices, keep IDA for wake-capable devices | expand

Message

Liao, Bard July 31, 2023, 9:13 a.m. UTC
This series suggests a hybrid strategy for device number allocation, where
only wake-capable devices use a system-unique Device Number which will be
used on LunarLake to handle wake-ups using the HDaudio WAKEEN and WAKESTS.

Pierre-Louis Bossart (3):
  soundwire: extend parameters of new_peripheral_assigned() callback
  soundwire: bus: add callbacks for device_number allocation
  soundwire: intel_auxdevice: add hybrid IDA-based device_number
    allocation

v2:
 - Move the device numver allocation from bus.c to intel_auxdevice.c
 - List the codecs with wake capability in a quirk table, and assign device
   number according to that quirk table. 

 drivers/soundwire/bus.c             | 18 +++---
 drivers/soundwire/intel_auxdevice.c | 85 ++++++++++++++++++++++++++---
 include/linux/soundwire/sdw.h       | 12 ++--
 include/linux/soundwire/sdw_intel.h |  7 +++
 4 files changed, 99 insertions(+), 23 deletions(-)

Comments

Vinod Koul Aug. 11, 2023, 7:06 a.m. UTC | #1
On Mon, 31 Jul 2023 17:13:30 +0800, Bard Liao wrote:
> This series suggests a hybrid strategy for device number allocation, where
> only wake-capable devices use a system-unique Device Number which will be
> used on LunarLake to handle wake-ups using the HDaudio WAKEEN and WAKESTS.
> 
> Pierre-Louis Bossart (3):
>   soundwire: extend parameters of new_peripheral_assigned() callback
>   soundwire: bus: add callbacks for device_number allocation
>   soundwire: intel_auxdevice: add hybrid IDA-based device_number
>     allocation
> 
> [...]

Applied, thanks!

[1/3] soundwire: extend parameters of new_peripheral_assigned() callback
      commit: 23afc82fb22bccd3f1d2a856d3eccb70453f33b0
[2/3] soundwire: bus: add callbacks for device_number allocation
      commit: 39d80b0e5fed2c32f66093fead626358b7106974
[3/3] soundwire: intel_auxdevice: add hybrid IDA-based device_number allocation
      commit: e66f91a2d10b9a25eedcaddee9d6f08c8132760a

Best regards,