|
|
Log in / Subscribe / Register

Add support for CS42L43B codec to CS42L43 driver

From:  Maciej Strozek <mstrozek-AT-opensource.cirrus.com>
To:  Mark Brown <broonie-AT-kernel.org>, Takashi Iwai <tiwai-AT-suse.com>, Lee Jones <lee-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>
Subject:  [PATCH v3 0/4] Add support for CS42L43B codec to CS42L43 driver
Date:  Fri, 23 Jan 2026 15:09:35 +0000
Message-ID:  <20260123150945.100038-1-mstrozek@opensource.cirrus.com>
Cc:  Jaroslav Kysela <perex-AT-perex.cz>, Bard Liao <yung-chuan.liao-AT-linux.intel.com>, Peter Ujfalusi <peter.ujfalusi-AT-linux.intel.com>, linux-kernel-AT-vger.kernel.org, linux-sound-AT-vger.kernel.org, patches-AT-opensource.cirrus.com, devicetree-AT-vger.kernel.org, Maciej Strozek <mstrozek-AT-opensource.cirrus.com>
Archive-link:  Article

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 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




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds