Hi Team,
Need your help to find out RESET-GIPO for TLV320AIC3100 audio codec.
I have made following changes in DTSI file:
tlv320aic31xx: codec@18 {
compatible = "ti,tlv320aic310x","ti,tlv320aic3100";
reg = <0x18>;
#sound-dai-cells = <0>;
/* Regulators */
HPVDD-supply = <®_3p3v>;
SPRVDD-supply = <®_3p3v>;
SPLVDD-supply = <®_3p3v>;
AVDD-supply = <®_3p3v>;
IOVDD-supply = <®_3p3v>;
DVDD-supply = <®_1p8v>;
};
LOGS:
Line 453: 10-18 09:43:02.729 0 0 D : Divyesh -tlv320aic31xx Enter Func:aic31xx_reset gpio_reset: 0
Line 454: 10-18 09:43:02.731 0 0 E tlv320aic31xx-codec 1-0018: Could not reset device: -6
Line 455: 10-18 09:43:02.737 0 0 E tlv320aic31xx-codec 1-0018: Unable to sync registers 0x9f-0x9f. -6
Line 456: 10-18 09:43:02.745 0 0 E tlv320aic31xx-codec 1-0018: Failed to restore cache: -6
Could pls suggest any solution for it?
Thanks
Hi Divyesh
one can look at TLV320 example on
https://community.nxp.com/t5/i-MX-Processors/SAI-on-i-MX8M-Mini/m-p/959805
Best regards
igor
Hi have given proper gpio reset pin number. still same error we are getting.
E tlv320aic31xx-codec 1-0018: Unable to sync registers 0x9f-0x9f. -6
E tlv320aic31xx-codec 1-0018: Failed to restore cache: -6