Hi @riteshmpatel, thank you for you response.
sound-tlv320aic3x {
compatible = "simple-audio-card";
simple-audio-card,name = "TLV320DAC32";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&codec1>;
simple-audio-card,frame-master = <&codec1>;
simple-audio-card,widgets = "Buzzer";
simple-audio-card,routing =
"Buzzer", "SPR";
simple-audio-card,cpu {
sound-dai = <&sai3>;
};
};
codec1: simple-audio-card,codec {
sound-dai = <&tlv320aic3x>;
system-clock-frequency = <&clk IMX8MM_CLK_SAI3_ROOT>;
};
&sai3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai3>;
status = "okay";
assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
assigned-clock-rates = <12000000>;
};
&i2c3 {
tlv320aic3x: tlv320aic3x@18 {
#sound-dai-cells = <0>;
compatible = "ti,tlv320aic3x";
reg = <0x18>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tlv32>;
reset-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
AVDD-supply = <®>;
IOVDD-supply = <®>;
DRVDD-supply = <®>;
};
};
pinctrl_sai3: sai3grp {
fsl,pins = <
MX8MM_IOMUXC_SAI3_MCLK_SAI3_MCLK 0x00000016
MX8MM_IOMUXC_SAI3_TXC_SAI3_TX_BCLK 0x00001816
MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0 0x00000016
MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC 0x00000016
>;
};
pinctrl_tlv32: tlv32grp {
fsl,pins = <
MX8MM_IOMUXC_SAI5_RXC_GPIO3_IO20 0x00000016
>;
};
I found out that the problem is with this part:
AVDD-supply = <®>;
IOVDD-supply = <®>;
DRVDD-supply = <®>;
I deleted it and device is probed, pull-down is disabled. I've got only error about dummy-regulator:
[ 13.248007] tlv320aic3x 2-0018: supply IOVDD not found, using dummy regulator
[ 13.259241] tlv320aic3x 2-0018: supply DVDD not found, using dummy regulator
[ 13.276491] tlv320aic3x 2-0018: supply AVDD not found, using dummy regulator
[ 13.283680] tlv320aic3x 2-0018: supply DRVDD not found, using dummy regulator
[ 13.297426] tlv320aic3x 2-0018: Invalid supply voltage(s) AVDD: -22, DVDD: -22
but the driver works now.
Now I have to work on sai3 part, because this one still not working.