Commit | Line | Data |
---|---|---|
bca2e41d RN |
1 | /* |
2 | * omap-hdmi.h | |
3 | * | |
4 | * Definitions for OMAP ALSA SoC DAI driver for HDMI audio on OMAP4 processors. | |
5 | * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ | |
6 | * Authors: Jorge Candelaria <jorge.candelaria@ti.com> | |
7 | * Ricardo Neri <ricardo.neri@ti.com> | |
8 | * | |
9 | * This program is free software; you can redistribute it and/or | |
10 | * modify it under the terms of the GNU General Public License | |
11 | * version 2 as published by the Free Software Foundation. | |
12 | * | |
13 | * This program is distributed in the hope that it will be useful, but | |
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | * General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program; if not, write to the Free Software | |
20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
21 | * 02110-1301 USA | |
22 | * | |
23 | */ | |
24 | ||
25 | #ifndef __OMAP_HDMI_H__ | |
26 | #define __OMAP_HDMI_H__ | |
27 | ||
28 | #define OMAP_HDMI_AUDIO_DMA_PORT 0x8c | |
29 | ||
30 | #define OMAP_HDMI_RATES (SNDRV_PCM_RATE_32000 | \ | |
a1ab92da RN |
31 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | \ |
32 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 | \ | |
33 | SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000) | |
bca2e41d RN |
34 | |
35 | #define OMAP_HDMI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ | |
36 | SNDRV_PCM_FMTBIT_S24_LE) | |
37 | ||
38 | #endif |