Other Parts Discussed in Thread: TLV320AIC3100
Tool/software: Linux
Hi,
We are trying to interface TLV320AIC3110 codec with a Freescale iMX6 processor.
We are running embedded Linux kernel 4.1.15 and used tlv320aic31xx as the driver file. But we could not find the required platform interface file imx-tlv320aic31xx.
Hence we ported it from an existing imx-tlv320aic3x (got form the internet) and modified so as to compile without errors.
We are getting 24MHz at codec MCLK, but not able to hear any audio output from speaker and the error log is given below.
Since we don’t want the MIC and Headphone output, we haven’t used it in our circuit, will it create any issue?
Attached is the schematic page of TLV320 audio codec for reference.
If anyone have interfaced the TLV320 codec with iMX6, kindly share the imx-tlv320aic31xx file.
Please provide your valuable inputs as we are held up at this stage.
root@imx6qsabresd:~# dmesg | grep tlv
[ 3.532537] tlv320aic31xx-codec 0-0018: Bad ai31xx-micbias-vg value 0 DT
[ 3.552732] imx-tlv320aic3x sound: tlv320aic31xx-hifi <-> 202c000.ssi mapping ok
[ 5.044967] tlv320aic31xx-codec 0-0018: aic31xx_wait_bits: Failed! 0x25 was 0x22 expected 0x10 (0, 0x10, 500000 us)
[ 5.054133] tlv320aic31xx-codec 0-0018: ASoC: POST_PMU: SPL ClassD event failed: -1
[ 5.505194] #0: imx-tlv320aic3x
[ 22.517611] tlv320aic31xx-codec 0-0018: aic31xx_wait_bits: Failed! 0x24 was 0xc0 expected 0x0 (0, 0x40, 500000 us)
[ 22.526724] tlv320aic31xx-codec 0-0018: ASoC: POST_PMD: ADC event failed: -1
[ 28.672430] tlv320aic31xx-codec 0-0018: aic31xx_wait_bits: Failed! 0x25 was 0xaa expected 0x0 (0, 0x8, 500000 us)
[ 28.681465] tlv320aic31xx-codec 0-0018: ASoC: POST_PMD: DAC Right event failed: -1
[ 29.820375] tlv320aic31xx-codec 0-0018: aic31xx_wait_bits: Failed! 0x25 was 0xaa expected 0x0 (0, 0x80, 500000 us)
[ 29.829489] tlv320aic31xx-codec 0-0018: ASoC: POST_PMD: DAC Left event failed: -1
Thanks & Regards