[PATCH 0/3] ALSA: Add support for Cirrus Logic CS35L54 and CS35L57

From: Richard Fitzgerald
Date: Fri Mar 08 2024 - 08:59:59 EST


The CS35L54 and CS35L57 are Boosted Smart Amplifiers. The CS35L54 has
I2C/SPI control and I2S/TDM audio. The CS35L57 also has SoundWire
control and audio.

The hardware differences between L54, L56 and L57 do not affect the
driver control interface so they can all be handled by the same driver.

The HDA patch has build dependencies on the ASoC patch.

The final patch updates serial-multi-instantiate and scan.c to trap
the ACPI HID for HDA systems that declare multiple amps all under one
Device() node. This patch does not have any build dependency on the
first two patches so can be taken separately.

Simon Trimmer (3):
ASoC: cs35l56: Add support for CS35L54 and CS35L57
ALSA: hda: cs35l56: Add support for CS35L54 and CS35L57
platform/x86: serial-multi-instantiate: Add support for CS35L54 and
CS35L57

drivers/acpi/scan.c | 2 ++
.../platform/x86/serial-multi-instantiate.c | 28 +++++++++++++++++++
include/sound/cs35l56.h | 1 +
sound/pci/hda/cs35l56_hda.c | 16 +++++++----
sound/pci/hda/cs35l56_hda.h | 2 +-
sound/pci/hda/cs35l56_hda_i2c.c | 7 +++--
sound/pci/hda/cs35l56_hda_spi.c | 7 +++--
sound/soc/codecs/cs35l56-sdw.c | 3 +-
sound/soc/codecs/cs35l56-shared.c | 8 ++++--
sound/soc/codecs/cs35l56.c | 14 +++++++++-
10 files changed, 73 insertions(+), 15 deletions(-)

--
2.30.2