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.

AM335x audio with tlv320aic3106 no audio out put.

Other Parts Discussed in Thread: TLV320AIC3104

Hi,
following are the device tree entries we are using. Along with these device entries we have done changes in tlv320aic3x.c to by pass the bulk_regulator calls as we have comented same in device tree also.
With this now sound card detection, sound device creations is happening properly.
aplay comand is also working fine , we dont get any error . Message shows playing properly but no audio is hearable from codec output.
Codec output is connected to power amplifier.
I think we are missing some where on audio-routing. Need your help is understanding I2S audio channels out put path from codec.

mcasp0_pins: mcasp0_pins {
pinctrl-single,pins = <
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE6)
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE6)
0x68 (PIN_OUTPUT_PULLDOWN | MUX_MODE6)
0x6C (PIN_INPUT_PULLDOWN | MUX_MODE6)
>;
};

mcasp0_sleep_pins: mcasp0_sleep_pins {
pinctrl-single,pins = <
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x6C (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
i2c1: i2c@4802a000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
clock-frequency = <100000>;

tlv320aic3106: tlv320aic3106@1b {
compatible = "ti,tlv320aic3106";
reg = <0x1b>;
gpio-reset = <&gpio1 13 0>;
status = "okay";
#if 0
/* Regulators */
AVDD-supply = <&vaux2_reg>;
IOVDD-supply = <&vaux2_reg>;
DRVDD-supply = <&vaux2_reg>;
DVDD-supply = <&vbat>;
#endif
};
sound {
compatible = "ti,da830-evm-audio";
ti,model = "AM335x-EVM";
ti,audio-codec = <&tlv320aic3106>;
ti,mcasp-controller = <&mcasp0>;
ti,codec-clock-rate = <24000000>;
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"LINE1L", "Line In",
"LINE1R", "Line In";
};

&mcasp0 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mcasp0_pins>;
pinctrl-1 = <&mcasp0_sleep_pins>;

status = "okay";

op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
/* 16 serializer */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 1 2
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};

Thanks & Regards,
Uday