[PATCH v4 0/4] Add support for CS42L43B codec to CS42L43 driver
From: Maciej Strozek <mstrozek@opensource.cirrus.com>
Date: 2026-01-26 14:40:36
Also in:
linux-sound, lkml
Hello, Introducing CS42L43B, a variant of the CS42L43 codec with changes to PDM (DMIC) inputs, RAM/ROM memory and extra channels to two SoundWire ports and ISRCs, and can be supported by the existing CS42L43 driver with some modifications. Support is split into four commits: 1. Add CS42L43B codec info to SoundWire utils 2. Add dt binding for the new variant 3. MFD driver part 1/2 4. ASoC codec driver part 2/2 Regards, Maciej --- Changes in v4: - change variant_id to long int Changes in v3: - fix incorrect type cast in mfd patch Changes in v2: - Rework the mechanism to identify the new variant along with some error handling improvements. - Added some comments in cs42l43_readable_register() for clarity. - Add handling of the I2C path for the B variant - Add a dt binding for the new variant --- Maciej Strozek (4): ASoC: sdw_utils: Add CS42L43B codec info ASoC: dt-bindings: cirrus,cs42l43: Add CS42L43B variant mfd: cs42l43: Add support for the B variant ASoC: cs42l43: Add support for the B variant .../bindings/sound/cirrus,cs42l43.yaml | 3 + drivers/mfd/cs42l43-i2c.c | 7 +- drivers/mfd/cs42l43-sdw.c | 4 +- drivers/mfd/cs42l43.c | 93 ++- drivers/mfd/cs42l43.h | 2 +- include/linux/mfd/cs42l43-regs.h | 76 ++ include/linux/mfd/cs42l43.h | 1 + sound/soc/codecs/cs42l43.c | 756 +++++++++++++++--- sound/soc/codecs/cs42l43.h | 4 +- sound/soc/sdw_utils/soc_sdw_utils.c | 54 ++ 10 files changed, 848 insertions(+), 152 deletions(-) -- 2.48.1