[PATCH v5 0/4] Add support for CS42L43B codec to CS42L43 driver

Maciej Strozek posted 4 patches 3 weeks, 6 days ago
.../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(-)
[PATCH v5 0/4] Add support for CS42L43B codec to CS42L43 driver
Posted by Maciej Strozek 3 weeks, 6 days ago
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 v5:
 - use snd_soc_component_to_dapm instead of snd_soc_component_get_dapm in cs42l43_component_probe
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.47.3
Re: [PATCH v5 0/4] Add support for CS42L43B codec to CS42L43 driver
Posted by Mark Brown 3 weeks, 3 days ago
On Fri, 06 Mar 2026 15:28:07 +0000, Maciej Strozek wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: sdw_utils: Add CS42L43B codec info
      commit: 3e314fde2304b328929c471a70906bc5968f9dcf
[2/4] ASoC: dt-bindings: cirrus,cs42l43: Add CS42L43B variant
      commit: 301db523173236829974c7add540baa470ac8761
[3/4] mfd: cs42l43: Add support for the B variant
      commit: a6fe20d67dc7d512f9b5dc11c5777fb1e1ff70ce
[4/4] ASoC: cs42l43: Add support for the B variant
      commit: 0a208adefecb287d22321054470d4619cb303839

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH v5 0/4] Add support for CS42L43B codec to CS42L43 driver
Posted by Charles Keepax 3 weeks, 6 days ago
On Fri, Mar 06, 2026 at 03:28:07PM +0000, Maciej Strozek wrote:
> 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
> 
> ---

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles