[PATCH 0/5] OMAP4: DSS2: HDMI: Add support for audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is to add support for HDMI audio on OMAP4 chips. This work has two
parts: DSS implementation and ASoC implementation. This set of patches
presents the DSS implementation. The approach is to utilize the DSS
HDMI driver to act as an ASoC codec. Then, functionality and data
structures are added to the DSS HDMI driver to configure parameters
relevant to audio such as sample rate and frequency and DMA.
The ASoC implementation adds an HDMI audio card that will utilize this
HDMI ASoC codec. The ASoC implementation is also under review in the
alsa-devel list.

This implementation is for Basic Audio as defined in CEA-861-D: 16 bit/sample
linear PCM 2-channel audio with sample rates of 32, 44.1 and 48kHz. As
described in the HDMI specification, support for Basic Audio is mandatory
for HDMI sinks and does not require of EDID parsing.

Additionally, this implementation supports 24-bit samples in 32-bit words.
Further audio capabilities such as more sample rates and multichannel audio
will be added in the future when EDID parsing is available for HDMI driver.

This implementation is based on on:
* OMAP4: DSS2: Add dss_dss_clk opt clock for OMAP4, by Sumit Semwal
 (http://gitorious.org/linux-omap-dss2/linux/commit/0da5637569bb9bf93e6930cd1c3b452eede50ba2)
* Kernel 2.6.39-rc6
 (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git v2.6.39-rc6)

In order to validate functionality, it is necessary to utilize the ASoC
HDMI CPU and machine drivers for HDMI on OMAP4. The complete implementation,
DSS and ASoC parts, is available at:
 git://gitorious.org/omap-audio/linux-audio.git ricardon/topic/hdmi-audio-v1

Verification: Penguins on HDMI display with audio playback with sample
rates of 32, 44.1 and 48kHz and 16-bit and 24-bit (in 32-bit word) sample
format. Audio playback verified using ALSA aplay. Validation was performed on
SDP4430 ES2.1 and Panda ES2.1 and ES2.0.

Ricardo Neri (5):
  OMAP4: DSS2: Create a DSS features structure for OMAP4430 ES1.0
  OMAP4: DSS2: HDMI: Add DSS feature for CTS calculation
  OMAP4: DSS2: HDMI: Add enums and structures for audio
  OMAP4: DSS2: HDMI: Add functionality for audio configuration
  OMAP4: DSS2: HDMI: Implement ASoC Codec driver for HDMI audio

 drivers/video/omap2/dss/dss_features.c |   29 ++-
 drivers/video/omap2/dss/dss_features.h |    1 +
 drivers/video/omap2/dss/hdmi.c         |  432 ++++++++++++++++++++++++++++++++
 drivers/video/omap2/dss/hdmi.h         |  220 ++++++++++++++++-
 4 files changed, 678 insertions(+), 4 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux