Audio System + Drivers (#562)

This commit is contained in:
Shadowtrance
2026-07-14 16:34:29 +10:00
committed by GitHub
parent fa4a6e255c
commit 955416dac8
137 changed files with 8847 additions and 387 deletions
+16
View File
@@ -0,0 +1,16 @@
# Dummy I2S class-D amplifiers (MAX98357A, NS4168)
A driver covering any I2S class-D speaker amplifier with no I2C/register
interface -- just an I2S data line plus an optional GPIO enable (SD) pin --
wired as an output-only `AUDIO_CODEC_TYPE` device. Has no I2C parent; the device
sits standalone in the devicetree and only references the I2S controller by
name. Covers the Maxim MAX98357A and NSIway NS4168.
Since these amps have no hardware volume/mute registers, volume and mute are
applied in software on the PCM stream via `esp_codec_dev`'s software volume
handler.
See https://www.analog.com/media/en/technical-documentation/data-sheets/MAX98357A-MAX98357B.pdf
And https://datasheet.lcsc.com/lcsc/2110191830_NSIWAY-NS4168_C965904.pdf
License: [Apache v2.0](LICENSE-Apache-2.0.md)