I'm trying to use the TLV320AIC3104 to play audio with a BeagleBone Black (BBB), running 4.19.94-ti-r73. Specifically, I'm using a clone of the Audio Cape RevB. I parsed a thread on TechForum that followed a similar issue but it's unclear that they resolved the issue. I was able to get the BBB to "see" the codec when using aplay -l. Below is the output
x@y:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: B [AudioCape Rev B], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 [davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
When I try playing an audio file, nothing happens (i.e. no sound and aplay gets stuck)
When I run dmesg | grep tlv320*, I get the following:
[ 1.400390] tlv320aic3x-codec 2-0018: 2-0018 supply IOVDD not found, using dummy regulator
[ 1.400498] tlv320aic3x-codec 2-0018: Linked as a consumer to regulator.0
[ 1.400513] tlv320aic3x-codec 2-0018: 2-0018 supply DVDD not found, using dummy regulator
[ 1.400598] tlv320aic3x-codec 2-0018: 2-0018 supply AVDD not found, using dummy regulator
[ 1.400683] tlv320aic3x-codec 2-0018: 2-0018 supply DRVDD not found, using dummy regulator
[ 1.400771] tlv320aic3x-codec 2-0018: Invalid supply voltage(s) AVDD: -22, DVDD: -22
[ 1.562159] asoc-simple-card sound: tlv320aic3x-hifi <-> 48038000.mcasp mapping ok
[ 854.335039] tlv320aic3x-codec 2-0018: Unable to sync registers 0x3-0x3. -121
The last line seems to be the issue but I am unsure what it means.
Running i2cdetect, I can see that the driver has a hold on the 0x18 address (it comes up as UU) so I believe that the BBB is properly communicating with the TLV320. Looking at the TLV320AIC3104, I can't find any reference to sync registers 0x3.
Any help would be greatly appreciated.