![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 121](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523121.webp)
The CONFIG_SND_SOC_IMX_HDMI option provides support for HDMI audio through
the ALSA/SoC subsystem, and can be found in menu configuration at the following
location:
Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for
SoC audio support > SoC Audio support for IMX - HDMI
When either of the previous two configuration options is selected, the MXC HDMI Core
configuration option, CONFIG_MFD_MXC_HDMI will be selected. This option can
also be found in the menu configuration here:
Device Drivers > Multifunction device drivers > MXC HDMI Core
The CONFIG_MXC_HDMI_CEC option provides support for the HDMI CEC driver,
and can be selected in menu configuration at the following menu location:
Device Drivers > MXC support drivers > MXC HDMI CEC (Consumer Electronic
Control) support
13.4 Unit Test
The HDMI video and audio drivers each have their own set of tests.
The HDMI video driver does not lend itself well to automated testing, so a number of
manual tests are required to verify the correct functionality. For audio driver testing, the
aplay
audio file player and
iecset
utility provide confirmation of the the driver's proper
integration into the ALSA framework. The following two section describe unit testing for
both the HDMI audio and video drivers.
13.4.1 Video
The following set of manual tests can be used to verify the proper operation of the HDMI
video driver:
1. Linux kernel command line-based tests: The initial mode used to display HDMI
video can be specified through the Linux kernel command line boot parameters. Try
several different valid display resolutions through the kernel parameters, re-booting
the system each time and verifying that the desired resolution is displayed on the
connected HDMI display.
2. Hotplug testing: Connect and disconnect the HDMI cable several times, from either
the end attached to the i.MX board, or the end attached to the HDMI sink device.
Each time the cable is reconnected, the driver should re-determine the appropriate
Chapter 13 HDMI Driver
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
121