summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl.c
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-07-09 15:20:11 +0530
committerMark Brown <broonie@kernel.org>2015-07-09 11:54:26 +0100
commit0505700104cd98da6d11c01b8063cffdb1b8d7d7 (patch)
treef1c5d7e1d65418b531904920ff82ef1454cde434 /sound/soc/intel/skylake/skl.c
parenteb965e3686f5cea669444d120f3723efa88ed56a (diff)
ASoC: Intel: Add support for decoupled mode in skl driver
Decoupled mode is where audio link is broken to frontend HDA and backend (hda/i2s/dmic/hdmi) links. This patch adds support for decoupled mode and then adds dais, dai ops for be/fe cpu dais and interrupt handler change to support decoupled mode Signed-off-by: Jeeja KP <jeeja.kp@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.c')
-rw-r--r--sound/soc/intel/skylake/skl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index dfbc15c2ac7b..348d094e81d6 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -380,6 +380,8 @@ static int skl_first_init(struct hdac_ext_bus *ebus)
return -ENXIO;
}
+ snd_hdac_ext_bus_parse_capabilities(ebus);
+
if (skl_acquire_irq(ebus, 0) < 0)
return -EBUSY;
@@ -453,6 +455,15 @@ static int skl_probe(struct pci_dev *pci,
pci_set_drvdata(skl->pci, ebus);
+ /* check if dsp is there */
+ if (ebus->ppcap) {
+ /* TODO register with dsp IPC */
+ dev_dbg(bus->dev, "Register dsp\n");
+ }
+
+ if (ebus->mlcap)
+ snd_hdac_ext_bus_get_ml_capabilities(ebus);
+
/* create device for soc dmic */
err = skl_dmic_device_register(skl);
if (err < 0)