[PATCH 0/3] ASoC: add CS42L84 codec driver

James Calligeros posted 3 patches 1 month, 1 week ago
There is a newer version of this series
Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml |   60 +++++++
MAINTAINERS                                                 |    2 +
sound/soc/codecs/Kconfig                                    |    7 +
sound/soc/codecs/Makefile                                   |    2 +
sound/soc/codecs/cs42l84.c                                  | 1110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sound/soc/codecs/cs42l84.h                                  |  210 +++++++++++++++++++++++++
6 files changed, 1391 insertions(+)
[PATCH 0/3] ASoC: add CS42L84 codec driver
Posted by James Calligeros 1 month, 1 week ago
Hi all,

This patch set adds a driver for the Cirrus Logic CS42L84 codec. This chip
is (so far) found only on Apple Silicon Macs. In keeping with proud Apple
tradition, the CS42L84 is essentially just a CS42L42 with a different
regmap and no publicly available datasheet. It may also be missing its
parent's S/PDIF capabilities as none of Apple's devices support S/PDIF out,
however this cannot be positively confirmed.

This driver has lived in the downstream Asahi tree for quite a while now,
and gained some refinements along the way. I have squashed most of these
into the initial driver commit as they were small changes like tweaking
msleep()s or filling out TLVs, but left seperate a larger change to
tip/ring sense IRQ handling as it differs significantly from what is found
in the CS42L42 driver.

---
James Calligeros (1):
      ASoC: cs42l84: leverage ring sense IRQs to correctly detect headsets

Martin Povišer (2):
      dt-bindings: sound: Add CS42L84 codec
      ASoC: cs42l84: Add new codec driver

 Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml |   60 +++++++
 MAINTAINERS                                                 |    2 +
 sound/soc/codecs/Kconfig                                    |    7 +
 sound/soc/codecs/Makefile                                   |    2 +
 sound/soc/codecs/cs42l84.c                                  | 1110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/cs42l84.h                                  |  210 +++++++++++++++++++++++++
 6 files changed, 1391 insertions(+)
---
base-commit: 469819cc17368702a6f68cec2148f518d3f3679b
change-id: 20241016-cs42l84-f38348d21c88

Best regards,
-- 
James Calligeros <jcalligeros99@gmail.com>

Re: [PATCH 0/3] ASoC: add CS42L84 codec driver
Posted by Neal Gompa 1 month, 1 week ago
On Wed, Oct 16, 2024 at 6:42 AM James Calligeros
<jcalligeros99@gmail.com> wrote:
>
> Hi all,
>
> This patch set adds a driver for the Cirrus Logic CS42L84 codec. This chip
> is (so far) found only on Apple Silicon Macs. In keeping with proud Apple
> tradition, the CS42L84 is essentially just a CS42L42 with a different
> regmap and no publicly available datasheet. It may also be missing its
> parent's S/PDIF capabilities as none of Apple's devices support S/PDIF out,
> however this cannot be positively confirmed.
>
> This driver has lived in the downstream Asahi tree for quite a while now,
> and gained some refinements along the way. I have squashed most of these
> into the initial driver commit as they were small changes like tweaking
> msleep()s or filling out TLVs, but left seperate a larger change to
> tip/ring sense IRQ handling as it differs significantly from what is found
> in the CS42L42 driver.
>
> ---
> James Calligeros (1):
>       ASoC: cs42l84: leverage ring sense IRQs to correctly detect headsets
>
> Martin Povišer (2):
>       dt-bindings: sound: Add CS42L84 codec
>       ASoC: cs42l84: Add new codec driver
>
>  Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml |   60 +++++++
>  MAINTAINERS                                                 |    2 +
>  sound/soc/codecs/Kconfig                                    |    7 +
>  sound/soc/codecs/Makefile                                   |    2 +
>  sound/soc/codecs/cs42l84.c                                  | 1110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  sound/soc/codecs/cs42l84.h                                  |  210 +++++++++++++++++++++++++
>  6 files changed, 1391 insertions(+)
> ---
> base-commit: 469819cc17368702a6f68cec2148f518d3f3679b
> change-id: 20241016-cs42l84-f38348d21c88
>
> Best regards,
> --
> James Calligeros <jcalligeros99@gmail.com>
>
>

Used and reviewed over multiple revisions in Fedora Asahi Remix. :)

Reviewed-by: Neal Gompa <neal@gompa.dev>



-- 
真実はいつも一つ!/ Always, there's only one truth!