summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_audiomix.h
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2020-01-14 15:58:16 +0800
committerZhang Peng <peng_zhang_8@nxp.com>2020-02-13 19:26:37 +0800
commitfb29abcd7ae909c5b264c1eb3f9233a3d4584e0a (patch)
tree72cb3bd5ddde0449ee81feef2915797b6b632fb2 /sound/soc/fsl/fsl_dsp_audiomix.h
parent196f718910e0a1fa8152360c965f8c2e8be4f0d3 (diff)
MLK-23255-1: ASoC: fsl_dsp: Add Audio MIX DSP helper
This is a subdevice of audiomix MFD device, exposing access to DSP control register from AudioMIX subsystem. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_audiomix.h')
-rw-r--r--sound/soc/fsl/fsl_dsp_audiomix.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp_audiomix.h b/sound/soc/fsl/fsl_dsp_audiomix.h
new file mode 100644
index 000000000000..c4dea9903575
--- /dev/null
+++ b/sound/soc/fsl/fsl_dsp_audiomix.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR MIT)*/
+/*
+ * Copyright (C) 2017 Cadence Design Systems, Inc.
+ * Copyright 2018 NXP
+ *
+ */
+
+#ifndef FSL_DSP_AUDMIX_H
+#define FSL_DSP_AUDMIX_H
+
+#define AudioDSP_REG0 0x100
+#define AudioDSP_REG1 0x104
+#define AudioDSP_REG2 0x108
+#define AudioDSP_REG3 0x10c
+
+struct imx_audiomix_dsp_data;
+void imx_audiomix_dsp_start(struct imx_audiomix_dsp_data *data);
+
+#endif