[PATCH v7 0/2] ASoC: codecs: add support for ES8389

From: Zhang Yi
Date: Fri Mar 28 2025 - 04:05:18 EST


The driver is for codec ES8389 of everest-semi.

v7 -> v6:
- Modify the order in the Kconfig and Makefile
- Remove ES8390 in description of codec driver
- Romove unused variable in the codec driver
- Modify notation for declaring variables

v6 -> v5: add "Reviewed-by" at v6 2/2

v5 -> v4:
- Modify kcontrol on DMIC in the codec driver
- Modify the way to set the slot and add es8389_set_tdm_slot
in the codec driver
- Modify the problem ablout making the use of a MCLK depend on
the configuration of a TDM slot in the codec driver
- Remove the "everest,adc-slot", "everest,dac-slot" and
"everest,dmic-enabled" in the codec driver and the yaml file,
because they are unnecessary.
- Remove the "prefix_name" in the yaml file.

v4 -> v3:
- Remove simple probe enter/exit debugs in the codec driver
- Modify the problem about double free in i2c_probe
- Modify the problem about coding style and wrapping
- Modify the problem about Bindings are before the user
- Modify the ref of "everest,adc-slot" and "everest,dac-slot"
in the yaml file
- Add description of "prefix_name" and "everest,dmic-enabled"
in the yaml file

v3 -> v2: Modify the format of examples in the yaml file

v2 -> v1:
- Remove a empty switch in the codec driver
- Modify the format of examples in the yaml file

v1 -> v0:
- Modify the register names in the codec driver
- Use yaml instead of txt to describe dts

Zhang Yi (2):
ASoC: codecs: add support for ES8389
ASoC: dt-bindings: Add Everest ES8389 audio CODEC

.../bindings/sound/everest,es8389.yaml | 50 +
sound/soc/codecs/Kconfig | 7 +-
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/es8389.c | 962 ++++++++++++++++++
sound/soc/codecs/es8389.h | 140 +++
5 files changed, 1160 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/sound/everest,es8389.yaml
create mode 100644 sound/soc/codecs/es8389.c
create mode 100644 sound/soc/codecs/es8389.h

--
2.17.1