]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00180350-1 HDMI set infoframe information
authorAlan Tull <r80115@freescale.com>
Wed, 18 Apr 2012 16:40:08 +0000 (11:40 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:29 +0000 (08:34 +0200)
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 <r80115@freescale.com>
arch/arm/plat-mxc/include/mach/mxc_edid.h

index 10baa01bf9b1214b4699b55642300675ffa343f8..7385c2710db83e67e56e9272ef7ec619d2c59c49 100755 (executable)
@@ -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);