From 0d094ae14e42d4939ff8553888222a9d3120c371 Mon Sep 17 00:00:00 2001 From: Alan Tull Date: Wed, 18 Apr 2012 11:40:08 -0500 Subject: [PATCH] ENGR00180350-1 HDMI set infoframe information MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Get speaker allocation data block information from the EDID. Translate the EDID speaker allocation to audio infoframe speaker allocation (different bit mapping) given the number of channels of audio being played. Set channel count information in HDMI_FC_AUDICONF0. Set speaker allocation information in HDMI_FC_AUDICONF2. From CEA-861-D spec: NOTE—HDMI requires the CT, SS and SF fields to be set to 0 (Refer to Stream Header) as these items are carried in the audio stream. Signed-off-by: Alan Tull --- arch/arm/plat-mxc/include/mach/mxc_edid.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/plat-mxc/include/mach/mxc_edid.h b/arch/arm/plat-mxc/include/mach/mxc_edid.h index 10baa01bf9b1..7385c2710db8 100755 --- a/arch/arm/plat-mxc/include/mach/mxc_edid.h +++ b/arch/arm/plat-mxc/include/mach/mxc_edid.h @@ -68,6 +68,7 @@ struct mxc_edid_cfg { u8 max_channels; u8 sample_sizes; u8 sample_rates; + u8 speaker_alloc; }; int mxc_edid_var_to_vic(struct fb_var_screeninfo *var); -- 2.39.5