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.

Linux/PROCESSOR-SDK-AM335X: McASP configuration

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Linux

Hello,

I am interfacing a codec (master) with a fixed 256 x fs bclk ratio regardless of slots or slot width to the McASP (slave).

I would prefer to do this with simple-card instead of implementing a separate machine driver just to make this one setting.

I have studied the device tree bindings of both the simple-card and McASP and I don't see anything that would make this setting explicitly.

I have also taken a look at the source of the McASP platform driver and it isn't immediately obvious how this would happen other than using set_clkdiv call back which the simple-card does not use.

I thought there may be a way to do this implicitly. For example, I have tried to set 8 slots and 32 slot width with the set_tdm_slot callback.

I am hoping there are some experts here who can tell be if it is possible to use simple-card to interface the codec I have to the McASP.

Regards,

Steven