aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/include
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-03-26 02:45:02 -0700
committerDuncan Laurie <dlaurie@chromium.org>2018-03-27 19:55:48 +0000
commite6c8a38986deb508d46a4c9cf0cb568d92244c8f (patch)
treeb04a80cde3ec86841dbbcf77cc610a9ffc5a2cb7 /src/soc/intel/skylake/include
parent314db17c6937a7b008e2d4fe73d4edfe7e323111 (diff)
soc/intel/skylake: Add NHLT config for max98373 codec
Add the NHLT configuration for the max98373 codec to skylake, taken directly from cannonlake. This will allow skylake/kabylake boards to use this codec. Change-Id: Ifb6bf2d31fda25b18d9b1ce2bb721255335d55e4 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/25367 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: HARSHAPRIYA N <harshapriya.n@intel.com> Reviewed-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Diffstat (limited to 'src/soc/intel/skylake/include')
-rw-r--r--src/soc/intel/skylake/include/soc/nhlt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/include/soc/nhlt.h b/src/soc/intel/skylake/include/soc/nhlt.h
index 1af27e8d5c..a25e5acbe2 100644
--- a/src/soc/intel/skylake/include/soc/nhlt.h
+++ b/src/soc/intel/skylake/include/soc/nhlt.h
@@ -61,6 +61,12 @@ int nhlt_soc_add_ssm4567(struct nhlt *nhlt, int hwlink);
int nhlt_soc_add_max98357(struct nhlt *nhlt, int hwlink);
/*
+ * Add max98373 amplifier in stereo configuration on provided SSP link.
+ * Return 0 on success, < 0 on error.
+ */
+int nhlt_soc_add_max98373(struct nhlt *nhlt, int hwlink);
+
+/*
* Add rt5514 DSP on provided SSP link. Return 0 on success, < 0 on error.
*/
int nhlt_soc_add_rt5514(struct nhlt *nhlt, int hwlink, int num_channels);