Audio
The audio path has a Qualcomm WCD934x “Tavil” codec on SLIMbus. It also has two NXP TFA9890 Class-D speaker amplifiers on I²C and on a tertiary MI2S link.
The side SecureAudio connector and the rear XPand interface use the same path for remote speaker microphones and accessories.
Codec: WCD934x
| Item | Value | Confidence |
|---|---|---|
| Part | Qualcomm WCD934x (“Tavil”) | Stock |
| Bus | SLIMbus | Stock |
| Sound card name | sdm660-tavil-snd-card |
Stock |
| Variant | Not known: WCD9340 or WCD9341 | None |
| Stock driver | Only SND_SOC_WCD934X is on. The internal sdm660-snd-card is off |
Stock |
| Companion | wcd-spi-v2 node on SPI. The WSA881x SoundWire amplifier nodes are reference-design leftovers |
Stock |
The codec connects to the microphones, the headset, and the voice path.
Mainline has a wcd934x driver. The driver can operate only after the ADSP and SLIMbus operate. Its bring-up milestone is after the milestone for the speaker amplifiers.
Speaker amplifiers: 2× TFA9890
| Item | Value | Confidence |
|---|---|---|
| Part | Two NXP TFA9890 (revision register 0x0080) |
Unit |
| Bus | I²C c176000 (TLMM 6 / 7) |
Unit |
| Addresses | 0x34 and 0x35 |
Unit |
| Reset | TLMM 12, active high | Unit |
| Interrupt | TLMM 21 | Stock |
| Audio feed | Tertiary MI2S | Stock |
| Tuning file | /vendor/firmware/tfa98xx.cnt, patch TFA9890_N1C3_2_1_1 |
Stock |
| Mainline driver | tfa989x (nxp,tfa9890) |
Unit |
Each chip sends the TFA9890 revision value 0x0080 on I²C when reset (TLMM 12) is low.
In mainline, a sound card that routes MultiMedia1 to the tertiary MI2S sends a tone to the two amplifiers. The tertiary MI2S pins are LPI GPIO 4–7 (clock, word select, data 0, data 1). Playback data uses line 1.
The TFA9890 has an on-board DSP for speaker protection. Without the vendor tuning file, the output operates but is not calibrated for the XP8 enclosure.
Signal path
flowchart LR ADSP["ADSP audio"] --> SLIM["SLIMbus"] SLIM --> CODEC["WCD934x Tavil codec"] AP["Application processor"] -->|Tertiary MI2S<br/>LPI GPIO 4-7| AMP["2x TFA9890<br/>I2C c176000 @0x34/0x35"] CODEC --> AMP AMP --> SPK["Dual front speakers"] BT["WCN3990 SLIMbus slave"] --> CODEC SIDE["Side SecureAudio / XPand connector"] --> CODEC
Accessory and Bluetooth audio
- Bluetooth audio uses the WCN3990 as a SLIMbus slave.
- Accessory audio defines
ptt-headphonesmixer paths inmixer_paths_tavil.xmlfor the side connector. The WSA881x nodes are reference-design leftovers. - Modem voice-call routing (modem DSP → SLIMbus → WCD934x → speaker/mic) uses a different ALSA UCM configuration that is not simple. It is not part of basic audio bring-up.