Tactility/Drivers/aw88298-module
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

AW88298 speaker amplifier

A driver for the AW88298 smart speaker power amplifier by Awinic, wired as an output-only AUDIO_CODEC_TYPE device. The I2C bus is the device's parent; the I2S controller carrying audio data is referenced via a devicetree phandle.

Wraps Espressif's esp_codec_dev AW88298 implementation. If a hardware reset (pin-reset) is wired, this driver pulses it itself before opening the codec, rather than handing it to esp_codec_dev's own reset handling -- the vendor driver treats a reset pin index of 0 as "no pin wired" and silently skips the reset, which doesn't match the audio_codec_adapter_new_gpio() convention used elsewhere in this codebase (a single-pin array is always referenced at index 0).

See https://www.awinic.com/en/productDetail/AW88298

License: Apache v2.0