2021-08-06 07:14 AM
Hi All,
i am using stm32mp1 with i2c on sgtl5000 codec and control lines are over carrier i2s
i am getting kernel soc sgtl5000.c error
sgtl5000 0-000a: Error reading chip id -6
<STM32_PINMUX('A', 15, AF5)>; /* I2S1_WS */
<STM32_PINMUX('Z', 0, AF5)>, /* I2S1_CK */
<STM32_PINMUX('Z', 1, AF5)>, /* I2S1_SDI */
<STM32_PINMUX('Z', 2, AF5)>, /* I2S1_SDO */
<STM32_PINMUX('Z', 6, AF5)>; /* I2S1_MCK */
Any reference dts on i2s1 would be helpful.. and suggest on kernel error .
2021-10-18 02:00 AM
Hi bernard,
still i been diverted to other work, i will let you know on findings
2021-11-23 06:04 AM
Hi Bernard,
i am back on Audio , MCLK I2S issue, clock is getting enabled after rootfs some audio init script gets clock enable, but not possible before thiis, where sgtl5000 probe gets defer expires.
so may i get input any patch in uboot side where i can get i2s mclk gets enable before audio codec sgtl500 gets probe.
2022-02-03 06:05 AM
finally i got sound working, following are observations:
Has any one played mp3 file using
gst-play-1.0 file:///run/media/sda1/AudioFiles
is there anything am missing ?
even i tried .webm file as example
i see outs
root@st:~# gst-play-1.0 ST2297_visionv3.webm
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/root/ST2297_visionv3.webm
Prerolling...
** (gst-play-1.0:976): WARNING **: 15:59:39.678: Could not bind to zwp_linux_dmabuf_v1
Redistribute latency...
Redistribute latency...
Redistribute latency...
0:00:13.3 / 0:04:02.4