diff options
Diffstat (limited to 'sound/soc/omap/omap-abe.h')
-rw-r--r-- | sound/soc/omap/omap-abe.h | 59 |
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..bc33ad18818 --- /dev/null +++ b/sound/soc/omap/omap-abe.h @@ -0,0 +1,59 @@ +/* + * omap-abe.h + * + * Copyright (C) 2010 Texas Instruments + * + * Contact: Liam Girdwood <lrg@slimlogic.co.uk> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + +#ifndef __OMAP_ABE_H__ +#define __OMAP_ABE_H__ + +#define ABE_FRONTEND_DAI_MEDIA 0 +#define ABE_FRONTEND_DAI_MEDIA_CAPTURE 1 +#define ABE_FRONTEND_DAI_VOICE 2 +#define ABE_FRONTEND_DAI_TONES 3 +#define ABE_FRONTEND_DAI_VIBRA 4 +#define ABE_FRONTEND_DAI_MODEM 5 +#define ABE_FRONTEND_DAI_LP_MEDIA 6 + +/* This must currently match the BE order in DSP */ +#define OMAP_ABE_DAI_PDM_UL 0 +#define OMAP_ABE_DAI_PDM_DL1 1 +#define OMAP_ABE_DAI_PDM_DL2 2 +#define OMAP_ABE_DAI_PDM_VIB 3 +#define OMAP_ABE_DAI_BT_VX 4 +#define OMAP_ABE_DAI_MM_FM 5 +#define OMAP_ABE_DAI_MODEM 6 +#define OMAP_ABE_DAI_DMIC0 7 +#define OMAP_ABE_DAI_DMIC1 8 +#define OMAP_ABE_DAI_DMIC2 9 + +#define OMAP_ABE_BE_PDM_DL1 "(Backend) PDM-DL1" +#define OMAP_ABE_BE_PDM_UL1 "(Backend) PDM-UL1" +#define OMAP_ABE_BE_PDM_DL2 "(Backend) PDM-DL2" +#define OMAP_ABE_BE_PDM_VIB "(Backend) PDM-VIB" +#define OMAP_ABE_BE_BT_VX "(Backend) BT-VX" +#define OMAP_ABE_BE_MM_EXT0 "(Backend) FM-EXT" +#define OMAP_ABE_BE_MM_EXT1 "(Backend) MODEM-EXT" +#define OMAP_ABE_BE_DMIC0 "(Backend) DMIC0" +#define OMAP_ABE_BE_DMIC1 "(Backend) DMIC1" +#define OMAP_ABE_BE_DMIC2 "(Backend) DMIC2" + + +#endif /* End of __OMAP_MCPDM_H__ */ |