Skip to content

ASoC: cs35l56: Use PCI SSID to select specific firmware

Richard Fitzgerald alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: soc-card: Add storage for PCI SSIDinclude/sound/soc-card.h include/sound/soc.h+48 -03 replies
2/4ASoC: SOF: Pass PCI SSID to machine driverinclude/sound/soc-acpi.h include/sound/sof.h sound/soc/sof/sof-audio.c +1 more+30 -00 replies
3/4ASoC: Intel: sof_sdw: Copy PCI SSID to struct snd_soc_cardsound/soc/intel/boards/sof_sdw.c+6 -00 replies
4/4ASoC: cs35l56: Use PCI SSID as the firmware UIDsound/soc/codecs/cs35l56.c+11 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPierre-Louis Bossart
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ASoC: cs35l56: Use PCI SSID to select specific firmware

The PCI device registers contain a subsystem ID (SSID), that is separate from the silicon ID. The PCI specification defines it thus:

"They provide a mechanism for board vendors to distiguish their
boards from one another even thought the boards may have the same PCI controller on them."

This allows the driver for the silicon part to apply board-speficic settings based on this SSID.

The CS35L56 driver uses this to select the correct firmware file for the board. The actual ID is part of the PCI register set of the host audio interface so this set of patches includes extracting the SSID from the Intel audio controller and passing it to the machine driver and then to ASoC components. Other PCI audio controllers will have the same SSID registers, so can use the same mechanism to pass the SSID.

Richard Fitzgerald (4):
ASoC: soc-card: Add storage for PCI SSID
ASoC: SOF: Pass PCI SSID to machine driver
ASoC: Intel: sof_sdw: Copy PCI SSID to struct snd_soc_card
ASoC: cs35l56: Use PCI SSID as the firmware UID

 include/sound/soc-acpi.h         |  7 ++++++
 include/sound/soc-card.h         | 37 ++++++++++++++++++++++++++++++++
 include/sound/soc.h              | 11 ++++++++++
 include/sound/sof.h              |  8 +++++++
 sound/soc/codecs/cs35l56.c       | 11 ++++++++++
 sound/soc/intel/boards/sof_sdw.c |  6 ++++++
 sound/soc/sof/sof-audio.c        |  7 ++++++
 sound/soc/sof/sof-pci-dev.c      |  8 +++++++
 8 files changed, 95 insertions(+)
Signature · 1 line
2.30.2