This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV320AIC3101: Not showing activity on I2C lines TLV320AIC3101 with Qcs610 Processor

Part Number: TLV320AIC3101


Hi Team,

We configured the tlv codec [tlv320aic3101] in our dts as per written in the Documentation. We are using the driver code [tlv320aic3x.c]. Our master is the processor, which generates Mclk frequency of 12.28 MHz and Bclk of 1.53MHz

DTS FILE

&qupv3_se3_i2c {
status = "ok";
tlv320aic3x_codec: tlv320aic3x@18 {
compatible = "ti,tlv320aic3x";
reg = <0x18>;
gpio-reset = &tlv320aic321xx_rst_gpio;
DRVDD-supply = <&pm6150_l18>;
AVDD-supply = <&pm6150_l18>;
IOVDD-supply = <&pm6150_l10>;
DVDD-supply = <&pm6150_l10>;
};
};

With the i2cdetect command, its showing that the driver code is using

/ # i2cdetect -r -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

but while booting we can see that the driver code is using and it gets inside i2cprobe, init and the codec probe from the logs. But we were unable to see the activity on SCL and SDA lines while probing.

Also with manual i2cset command, its able to write and read the data.

The codec is not registered inside the sound card [inside /proc/asound/cards]

but the codec is being registered inside the :

/ # cat /sys/kernel/debug/asoc/codecs
btfmslim_slave
tlv320aic3x-codec.2-0018
snd-soc-dummy

Please help us to find the root cause,

Regards,
Abhiram