TechNexion / tfa98xx

TFA9892 driver for TechNexion Voicehat, fork from https://source.codeaurora.org/external/mas/tfa98xx
Other
2 stars 2 forks source link

TFA9892 driver for TechNexion Voicehat

TechNexion VOICEHAT

The TFA9892 is a high efficiency class-D audio amplifier with a sophisticated speaker boost and protection algorithm

Prepare firmware files

This codec driver requires firmware. Please download it from NXP codeaurora:

TFA9892N1A_stereo_32FS.cnt

Place the firmware file in the following path on the target board:

/lib/firmware/tfa98/9912/TFA9892N1A_stereo_32FS.cnt

ln -sf /lib/firmware/tfa98/9912/TFA9892N1A_stereo_32FS.cnt /lib/firmware/tfa98xx.cnt

Codec driver will look for firmware under /lib/firmware/tfa98xx.cnt

Complile

To make and make install module for TFA98xx driver:

KDIR=\ make

KDIR=\ INSTALL_MOD_PATH=\ make modules_install

(NOTE: The "modules" directory should be already installed kernel module inside)

Load module driver

Load the module driver on the board:

modprobe snd-soc-tfa98xx