[alsa-devel] [PATCH 00/19]: add mrfld DSP support

Lars-Peter Clausen lars at metafoo.de
Fri Jun 20 10:57:25 CEST 2014


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



More information about the Alsa-devel mailing list