summaryrefslogtreecommitdiff
path: root/include/sound/hdmi-codec.h
diff options
context:
space:
mode:
authorSia Jee Heng <jee.heng.sia@intel.com>2021-02-04 09:42:55 +0800
committerMark Brown <broonie@kernel.org>2021-02-08 11:39:52 +0000
commit28785f548d18e6d52785a1172e5c176784ce74cd (patch)
tree2c3a2fd4722054bdc025b2cbfedc3d8b1e8c7fbb /include/sound/hdmi-codec.h
parentf08c74a3b52d126d053c741b906ee1ca2a4f3568 (diff)
downloadlwn-28785f548d18e6d52785a1172e5c176784ce74cd.tar.gz
lwn-28785f548d18e6d52785a1172e5c176784ce74cd.zip
ASoC: codec: hdmi-codec: Support IEC958 encoded PCM format
Existing hdmi-codec driver only support standard pcm format. Support of IEC958 encoded format pass from ALSA IEC958 plugin is needed so that the IEC958 encoded data can be streamed to the HDMI chip. Signed-off-by: Sia Jee Heng <jee.heng.sia@intel.com> Link: https://lore.kernel.org/r/20210204014258.10197-2-jee.heng.sia@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/hdmi-codec.h')
-rw-r--r--include/sound/hdmi-codec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/hdmi-codec.h b/include/sound/hdmi-codec.h
index b55970859a13..4b3a1d374b90 100644
--- a/include/sound/hdmi-codec.h
+++ b/include/sound/hdmi-codec.h
@@ -34,6 +34,11 @@ struct hdmi_codec_daifmt {
unsigned int frame_clk_inv:1;
unsigned int bit_clk_master:1;
unsigned int frame_clk_master:1;
+ /* bit_fmt could be standard PCM format or
+ * IEC958 encoded format. ALSA IEC958 plugin will pass
+ * IEC958_SUBFRAME format to the underneath driver.
+ */
+ snd_pcm_format_t bit_fmt;
};
/*