Skip to content

Add support for CS42L43B codec to CS42L43 driver

Maciej Strozek linux-devicetree linux-sound lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 3 repliesIn review
  2. v4 posting 2/24 patches 4 repliesSuperseded
  3. v4 posting 1/24 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches0 repliesSuperseded
v24 patches2 repliesSuperseded
v13 patches2 repliesSuperseded

Changes in v5 from the cover letter

- use snd_soc_component_to_dapm instead of snd_soc_component_get_dapm in cs42l43_component_probe

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: sdw_utils: Add CS42L43B codec infosound/soc/sdw_utils/soc_sdw_utils.c+54 -00 replies
2/4ASoC: dt-bindings: cirrus,cs42l43: Add CS42L43B variantDocumentation/devicetree/bindings/sound/cirrus,cs42l43.yaml+3 -00 replies
3/4mfd: cs42l43: Add support for the B variantdrivers/mfd/cs42l43-i2c.c drivers/mfd/cs42l43-sdw.c drivers/mfd/cs42l43.c +3 more+166 -171 reply
4/4ASoC: cs42l43: Add support for the B variantsound/soc/codecs/cs42l43.c sound/soc/codecs/cs42l43.h+625 -1350 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrzysztof KozlowskiCharles Keepax
SeriesR-b T-b
1/4
2/4A-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

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