omap-hdmi.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #ifndef __OMAP_HDMI_H__
  25. #define __OMAP_HDMI_H__
  26. #define OMAP_HDMI_AUDIO_DMA_PORT 0x8c
  27. #define OMAP_HDMI_RATES (SNDRV_PCM_RATE_32000 | \
  28. SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
  29. #define OMAP_HDMI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
  30. SNDRV_PCM_FMTBIT_S24_LE)
  31. #endif