aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-abe.h
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-07-24 15:59:46 -0400
committerPaolo Pisati <paolo.pisati@canonical.com>2012-08-17 04:18:26 -0400
commitaea7bfee0c70fa581975dc7805a07752b4d693a8 (patch)
tree73507c49eb473e1b1426b175b5b85f93fa7cb281 /sound/soc/omap/omap-abe.h
parent72e329108ccfa292175d6e99720acdfc26ab106a (diff)
Subject: [PATCH 080/104] ASoC: OMAP4 ABE DAI - Add OAMP4 ABE DAI support
This patch adds support for the OMAP4 ABE DSP Frontend DAIs. Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/omap-abe.h')
-rw-r--r--sound/soc/omap/omap-abe.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-abe.h b/sound/soc/omap/omap-abe.h
new file mode 100644
index 00000000000..92875882bcf
--- /dev/null
+++ b/sound/soc/omap/omap-abe.h
@@ -0,0 +1,59 @@
1/*
2 * omap-abe.h
3 *
4 * Copyright (C) 2010 Texas Instruments
5 *
6 * Contact: Liam Girdwood <lrg@slimlogic.co.uk>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 *
22 */
23
24#ifndef __OMAP_ABE_H__
25#define __OMAP_ABE_H__
26
27#define ABE_FRONTEND_DAI_MEDIA 0
28#define ABE_FRONTEND_DAI_MEDIA_CAPTURE 1
29#define ABE_FRONTEND_DAI_VOICE 2
30#define ABE_FRONTEND_DAI_TONES 3
31#define ABE_FRONTEND_DAI_VIBRA 4
32#define ABE_FRONTEND_DAI_MODEM 5
33#define ABE_FRONTEND_DAI_LP_MEDIA 6
34
35/* This must currently match the BE order in DSP */
36#define OMAP_ABE_DAI_PDM_UL 0
37#define OMAP_ABE_DAI_PDM_DL1 1
38#define OMAP_ABE_DAI_PDM_DL2 2
39#define OMAP_ABE_DAI_PDM_VIB 3
40#define OMAP_ABE_DAI_BT_VX 4
41#define OMAP_ABE_DAI_MM_FM 5
42#define OMAP_ABE_DAI_MODEM 6
43#define OMAP_ABE_DAI_DMIC0 7
44#define OMAP_ABE_DAI_DMIC1 8
45#define OMAP_ABE_DAI_DMIC2 9
46
47#define OMAP_ABE_BE_PDM_DL1 "PDM-DL1"
48#define OMAP_ABE_BE_PDM_UL1 "PDM-UL1"
49#define OMAP_ABE_BE_PDM_DL2 "PDM-DL2"
50#define OMAP_ABE_BE_PDM_VIB "PDM-VIB"
51#define OMAP_ABE_BE_BT_VX "BT-VX"
52#define OMAP_ABE_BE_MM_EXT0 "FM-EXT"
53#define OMAP_ABE_BE_MM_EXT1 "MODEM-EXT"
54#define OMAP_ABE_BE_DMIC0 "DMIC0"
55#define OMAP_ABE_BE_DMIC1 "DMIC1"
56#define OMAP_ABE_BE_DMIC2 "DMIC2"
57
58
59#endif /* End of __OMAP_MCPDM_H__ */