diff options
author | Pardha Saradhi K <pardha.saradhi.kesapragada@intel.com> | 2016-11-03 12:37:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-03 18:14:22 +0100 |
commit | a26a3f53e3d2bfeb666ca31b5f86c65a1816eb89 (patch) | |
tree | 16c2078a2f3aeed82afaf3bddd50e9a7122fc756 /sound/soc/intel/skylake/skl-sst-ipc.h | |
parent | ASoC: Intel: Skylake: Add D0iX IPCs (diff) | |
download | linux-a26a3f53e3d2bfeb666ca31b5f86c65a1816eb89.tar.xz linux-a26a3f53e3d2bfeb666ca31b5f86c65a1816eb89.zip |
ASoC: Intel: Skylake: Add support for programming D0i3C
To set the controller in D0i3 mode, the driver needs to set D0i3C
register after DSP is quiesced. Since the D0iX entry/exit is done by IPC,
add this as callback so that it can be invoked from IPC module.
Signed-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada@intel.com>
Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst-ipc.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-ipc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-ipc.h b/sound/soc/intel/skylake/skl-sst-ipc.h index 1ae265d8ee08..ef2182d21934 100644 --- a/sound/soc/intel/skylake/skl-sst-ipc.h +++ b/sound/soc/intel/skylake/skl-sst-ipc.h @@ -83,6 +83,9 @@ struct skl_sst { /* tplg manifest */ struct skl_dfw_manifest manifest; + + /* Callback to update D0i3C register */ + void (*update_d0i3c)(struct device *dev, bool enable); }; struct skl_ipc_init_instance_msg { |