]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: cs42l43: Add support for the B variant
authorMaciej Strozek <mstrozek@opensource.cirrus.com>
Fri, 6 Mar 2026 15:28:10 +0000 (15:28 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2026 10:29:32 +0000 (10:29 +0000)
commita6fe20d67dc7d512f9b5dc11c5777fb1e1ff70ce
treef34554edc4185d54ec142f44b9340e0098de6721
parent301db523173236829974c7add540baa470ac8761
mfd: cs42l43: Add support for the B variant

Introducing CS42L43B codec, a variant of CS42L43 which can be driven by
the same driver.

Changes in CS42L43 driver specific for CS42L43B:
- Decimator 1 and 2 are dedicated to ADC, can't be selected for PDM
- Decimators 3 and 4 are connected to PDM1
- Added Decimator 5 and 6 for PDM2
- Supports SoundWire Clock Gearing
- Updated ROM requiring no patching
- Reduced RAM space
- Each ISRC has 4 decimators now

Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Acked-by: Lee Jones <lee@kernel.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260306152829.3130530-4-mstrozek@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/mfd/cs42l43-i2c.c
drivers/mfd/cs42l43-sdw.c
drivers/mfd/cs42l43.c
drivers/mfd/cs42l43.h
include/linux/mfd/cs42l43-regs.h
include/linux/mfd/cs42l43.h