On Sun, Jun 22, 2014 at 11:12:36AM +0100, Mark Brown wrote:
On Sun, Jun 22, 2014 at 10:56:00AM +0530, Vinod Koul wrote:
Even on DSPs loading firmware and power sequencing the DSP can get some help using these functions
I think I might find some use of this for my work!
Please be more specific about this - what do they offer that runtime PM and widgets don't offer?
Well you are assuming that folks writing DSP FW will not have some wiered sequence!
Neverthless, i can think of two scenarios to control fw loading and sequences:
1. DMICs attached to DSP doing record but data getting consumed by DSP. No data goes to host cpu. No PCM/parameters here, so we can do a simple Input-Output loop. Somthing reverse of what we can do with Codec vibra. Widgets will not tell me when to load DSP FW. Since no device handle, no runtime here!
2. SoC DSP generating clock for codec and audio ICs even when no data is generated by SoC. This is not true for I2S but for other bus prtocols like Slimbus.
Thanks