Ken Van Hoeylandt 85b61e1e43
Improve module configuration (#661)
DTS modules (device modules) often have a single source file with an empty `struct Module`.
The module's yaml file now allows a `dts-only` boolean to be set, so the source file becomes optional.
`devicetree.yaml` is renamed everywhere to `module.yaml`
2026-09-25 21:56:37 +02:00
..
2026-07-14 08:34:29 +02:00
2026-07-14 08:34:29 +02:00
2026-09-13 00:52:16 +02:00
2026-07-14 08:34:29 +02:00
2026-07-14 08:34:29 +02:00

ES7210 microphone ADC

A driver for the ES7210 4-channel microphone ADC by Everest Semiconductor, wired as an input-only AUDIO_CODEC_TYPE device. The I2C bus is the device's parent; the I2S controller carrying the (4-slot TDM) audio data is referenced by name.

Always configures the hardware for the full 4-slot TDM frame regardless of how many mics are actually wired (mic-mask), then demuxes down to just the active mic slots in software -- es7210_set_fs() silently halves the configured bit depth when asked for 2 or fewer TDM channels, which corrupts audio if the mic count is passed straight through.

Wraps Espressif's esp_codec_dev ES7210 implementation.

See https://www.everest-semi.com/pdf/ES7210%20PB.pdf

License: Apache v2.0