[PATCH v2 0/8] Improve SOF support for Steam Deck OLED

From: Cristian Ciocaltea
Date: Mon Dec 18 2023 - 22:07:52 EST


This patch series is a continuation of [1] to provide several fixes and
improvements to the SOF drivers targeting the Vangogh platform, as found on
Valve's Steam Deck OLED. The previous series only handled the legacy ACP
drivers.

Also note that, since v2, this patch series requires an updated SOF
topology to provide a correct DAI link ID for the BT codec. The binary
file should be located under:

/usr/lib/firmware/amd/sof-tplg/sof-vangogh-nau8821-max.tplg

Alternatively, as a temporary workaround, patch [2] can be used to adapt
the driver to the broken topology.

Another requirement to get this functional is patch [3] from v1, which has
been dropped from the series to be upstreamed via the SOF development
workflow.

[1]: https://lore.kernel.org/all/20231209203229.878730-1-cristian.ciocaltea@xxxxxxxxxxxxx/
[2]: https://lore.kernel.org/all/20231209205351.880797-11-cristian.ciocaltea@xxxxxxxxxxxxx/
[3]: https://lore.kernel.org/all/20231209205351.880797-12-cristian.ciocaltea@xxxxxxxxxxxxx/

Changes in v2:
- Updated commit message in PATCH 3 according to Emil's review
- Reworked PATCH 7 according to Péter's suggestion and dropped PATCH 8
which is obsolete now
- Dropped incorrect PATCH 10/11, according to Venkata the fw is broken and
requires update
- Dropped PATCH 11/11 which is handled via the SOF workflow
- Added R-b from Emil too all remaining patches, except the reworked one
- Rebased series onto next-20231218
- v1:
https://lore.kernel.org/all/20231209205351.880797-1-cristian.ciocaltea@xxxxxxxxxxxxx/

Cristian Ciocaltea (8):
ASoC: amd: acp: Drop redundant initialization of machine driver data
ASoC: amd: acp: Make use of existing *_CODEC_DAI macros
ASoC: amd: acp: Add missing error handling in sof-mach
ASoC: amd: acp: Update MODULE_DESCRIPTION for sof-mach
ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()
ASoC: SOF: amd: Optimize quirk for Valve Galileo
ASoC: SOF: core: Skip firmware test for custom loaders
ASoC: SOF: amd: Compute file paths on firmware load

sound/soc/amd/acp/acp-mach-common.c | 6 +++---
sound/soc/amd/acp/acp-sof-mach.c | 26 +++++++----------------
sound/soc/sof/amd/acp-loader.c | 32 +++++++++++++++++++++++------
sound/soc/sof/amd/acp.c | 30 ++++++++++++++++-----------
sound/soc/sof/fw-file-profile.c | 18 +++++++++++++---
5 files changed, 69 insertions(+), 43 deletions(-)

--
2.43.0