Hello,
It describes that TLV320DAC3100 could generate key-click sound, but it doesn't include how to generate key-click in the Linux driver:./sound/soc/codecs/tlv320aic31xx.c
Below is our customer's script, it is the same with ARM335 EVM. It is normal of Play command with LInux. But he didn't generate key-click successfully, so the question is how to generate Key-click using
I2Cset command to write registers manually.
#!/bin/bash
##
##generate key click sound by i2cset
#
i2cset -y -f 0 0x18 0x00 00
i2cset -y -f 0 0x18 0x40 0x0c
sleep 1
i2cset -y -f 0 0x18 0x0b 0x02
i2cset -y -f 0 0x18 0x49 0x01
i2cset -y -f 0 0x18 0x4a 0x77
i2cset -y -f 0 0x18 0x4b 00
i2cset -y -f 0 0x18 0x4c 0x23
i2cset -y -f 0 0x18 0x4d 0xfb
i2cset -y -f 0 0x18 0x4e 0x7a
i2cset -y -f 0 0x18 0x4f 0xd7
i2cset -y -f 0 0x18 0x48 04
i2cset -y -f 0 0x18 0x47 0x84
i2cset -y -f 0 0x18 0x0b 0x80
i2cset -y -f 0 0x18 0x40 00
Best regards
Kailyn