linux/sound/soc/intel
Vinod Koul d93f8e550f ASoC: Intel: Skylake: add DSP platform widget event handlers
The Skylake driver topology model tries to model the firmware
rule for pipeline and module creation.
The creation rule is:
 - Create Pipe
 - Add modules to Pipe
 - Connect the modules (bind)
 - Start the pipes

Similarly destroy rule is:
 - Stop the pipe
 - Disconnect it (unbind)
 - Delete the pipe

In driver we use Mixer, as there will always be ONE mixer in a
pipeline to model a pipe. The modules in pipe are modelled as PGA
widgets.  The DAPM sequencing rules (mixer and then PGA) are used
to create the sequence DSP expects as depicted above, and then
widget handlers for PMU and PMD events help in that.

This patch adds widget event handlers for PRE/POST PMU and
PRE/POST PMD event for mixer and pga modules.  These event
handlers invoke pipeline creation, destroy, module creation,
module bind, unbind and pipeline bind unbind

Event handler sequencing is implement to target the DSP FW
sequence expectations to enable path from source to sink pipe for
Playback/Capture.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-10-07 15:30:15 +01:00
..
atom ASoC: Intel: remove unused function 2015-09-16 18:30:47 +01:00
baytrail ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue 2015-07-29 14:55:16 +01:00
boards ASoC: intel: broadwell: Convert to devm_snd_soc_register_card 2015-09-14 18:39:23 +01:00
common ASoC: Intel: use dw_dmac autoconfiguration 2015-10-07 11:24:49 +01:00
haswell ASoC: Intel: haswell: fix initialize 'NULL device *' issue 2015-07-29 14:55:06 +01:00
skylake ASoC: Intel: Skylake: add DSP platform widget event handlers 2015-10-07 15:30:15 +01:00
Kconfig ASoC: Intel: Add Skylake IPC library 2015-07-09 18:33:23 +01:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00