From: Alan Tull Date: Wed, 18 Apr 2012 16:40:08 +0000 (-0500) Subject: ENGR00180350-1 HDMI set infoframe information X-Git-Tag: v3.0.35-fsl~1148 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d094ae14e42d4939ff8553888222a9d3120c371;p=karo-tx-linux.git ENGR00180350-1 HDMI set infoframe information 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 --- 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);