8 Nov
2022
8 Nov
'22
10:34 a.m.
On 11/8/22 06:29, Shengjiu Wang wrote:
On Tue, Nov 8, 2022 at 5:52 AM Marek Vasut marex@denx.de wrote:
For SAI to generate MCLK on external SoC pad, the transmitter must be enabled as well. With transmitter disabled, no clock are generated. Enable the transmitter using the TERE bit.
It is already done in trigger(), why need to do this operation in probe() and set_bclk() again?
The system I have here has SAI MCLK (output) connected to SGTL5000 codec MCLK (input) . If the SAI MCLK (output), the codec I2C interface won't work. That's why the MCLK must be enabled so early.