[PATCH v3 0/3] Add the Renesas IDT821034 codec support

From: Herve Codina
Date: Thu Jan 26 2023 - 03:52:05 EST


Hi,

The Renesas IDT821034 codec is four channel PCM codec with on-chip
filters and programmable gain setting.
It also provides SLIC (Subscriber Line Interface Circuit) signals as
GPIOs.

Based on previous iteration,
https://lore.kernel.org/linux-kernel/20230120095036.514639-1-herve.codina@xxxxxxxxxxx/
this v3 series mainly:
- Fixes _put() methods
- Introduces and uses idt821034_2x8bit_write()
- Removes the '#if IS_ENABLED(CONFIG_GPIOLIB)' conditional

Best regards,
Herve Codina

Changes v2 -> v3:
- Patch 1
Fix the example node name.
Add 'Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>'

- Patch 2
Fix _put() methods return code.
Remove 'select REGMAP_SPI' from Kconfig
Introduce and use idt821034_2x8bit_write()
Remove the '#if IS_ENABLED(CONFIG_GPIOLIB)' conditional
Fix comments and other minor code simplifications

Changes v1 -> v2:
- All patches
Reformat commit log

- Patch 1
Remove '$ref: /schemas/gpio/gpio.yaml#'
Use 'unevaluatedProperties: false'
Update the node name and remove the sound node in the example

- Patch 2
Change the file header comment format
Rework in order to remove the regmap virtual registers

Herve Codina (3):
dt-bindings: sound: Add Renesas IDT821034 codec
ASoC: codecs: Add support for the Renesas IDT821034 codec
MAINTAINERS: add the Renesas IDT821034 codec entry

.../bindings/sound/renesas,idt821034.yaml | 75 ++
MAINTAINERS | 7 +
sound/soc/codecs/Kconfig | 11 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/idt821034.c | 1180 +++++++++++++++++
5 files changed, 1275 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/renesas,idt821034.yaml
create mode 100644 sound/soc/codecs/idt821034.c

--
2.39.0