summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-06-28 15:00:30 -0500
committerAaron Durbin <adurbin@chromium.org>2016-06-29 23:15:29 +0200
commite9657bc8dc6dc94216fcbbc9b83c12b210c32be9 (patch)
treebfdd123492d1f2287299e0542ab80bb97e624998 /src/soc/intel/skylake/include
parent5e0a9c7436f77a4e488d77c80fba38cd00b67e67 (diff)
soc/intel/skylake: refactor nhlt support
Utilize the new NHLT helper functions by driving the NHLT endpoints through data descriptors. Change-Id: I80838214d3615b83d4939ec2d96a4fd7050d5920 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15488 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/skylake/include')
-rw-r--r--src/soc/intel/skylake/include/soc/nhlt.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/soc/intel/skylake/include/soc/nhlt.h b/src/soc/intel/skylake/include/soc/nhlt.h
index 3800bb978d..008dd0d907 100644
--- a/src/soc/intel/skylake/include/soc/nhlt.h
+++ b/src/soc/intel/skylake/include/soc/nhlt.h
@@ -18,9 +18,14 @@
#include <nhlt.h>
+#define NHLT_VID 0x8086
+#define NHLT_DID_DMIC 0xae20
+#define NHLT_DID_BT 0xae30
+#define NHLT_DID_SSP 0xae34
+
/*
- * Skylake NHLT device and hardware link types. These values are to be used
- * with nhlt_soc_add_endpoint().
+ * Skylake NHLT link types. These values are to be used for the hwlink
+ * fields in the functions below to specify which link a device is on.
*/
enum {
@@ -30,12 +35,6 @@ enum {
AUDIO_LINK_DMIC,
};
-enum {
- AUDIO_DEV_I2S,
- AUDIO_DEV_DMIC,
- AUDIO_DEV_BT,
-};
-
/*
* Add a dmic array composed of the provided number of channels. The skylake
* SoC currently only supports dmic arrays on the dmic signals. Either 2