summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-hdmi.h
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2012-05-18 01:42:40 -0500
committerLiam Girdwood <lrg@ti.com>2012-05-22 17:33:23 +0100
commita1ab92da141198a98989f3ea41eccc973c9d706e (patch)
tree505fe9ccfc8b9615be7a25e6bf0308aaa51fd928 /sound/soc/omap/omap-hdmi.h
parenta0534e3bb68537b749423efe60db7b38872b00a1 (diff)
downloadblackbird-op-linux-a1ab92da141198a98989f3ea41eccc973c9d706e.tar.gz
blackbird-op-linux-a1ab92da141198a98989f3ea41eccc973c9d706e.zip
ASoC: OMAP: HDMI: Expand capabilities of the HDMI DAI
According to the HDMI specification, a source is permitted to transmit L-PCM audio in the following sample rates: 32kHz, 44.1kHz, 48kHz, 88.2kHz, 96kHz, 176.4kHz or 192kHz. It also supports up to 8 audio channels. The sink may not necessarily support all these sample rates and channels. However, as this CPU DAI describes the HDMI source, it makes sense to include them. The limitation of capabilities as supported by the sink should be done in the ASoC HDMI codec. Signed-off-by: Ricardo Neri <ricardo.neri@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/omap-hdmi.h')
-rw-r--r--sound/soc/omap/omap-hdmi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-hdmi.h b/sound/soc/omap/omap-hdmi.h
index 34c298d5057e..6ad2bf4f2697 100644
--- a/sound/soc/omap/omap-hdmi.h
+++ b/sound/soc/omap/omap-hdmi.h
@@ -28,7 +28,9 @@
#define OMAP_HDMI_AUDIO_DMA_PORT 0x8c
#define OMAP_HDMI_RATES (SNDRV_PCM_RATE_32000 | \
- SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
+ SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | \
+ SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 | \
+ SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000)
#define OMAP_HDMI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
SNDRV_PCM_FMTBIT_S24_LE)
OpenPOWER on IntegriCloud