20 Jun
2014
20 Jun
'14
10:57 a.m.
On 06/20/2014 10:20 AM, Vinod Koul wrote: [...]
- Use regmap for IO instead of the read/write callbacks in the
platform_driver struct.
I dont think we need that for our DSP. The read/write are writing to driver memory which is later used to send data to DSP using IPCs. So how will regmap help here?
The idea is to get rid of the IO abstraction layer inside ASoC and only rely on regmap for this. This is a process this has been going on ever since the regmap framework was added to the kernel and we are almost there now. The best is to implement a regmap bus or a bus-less regmap instance that implements the IPC for the DSP. If the IPC does not map nicely onto a register map, we need to come up with something better. It's basically the same problem that that HDA CODEC by RT has.
- Lars