aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-08-09 22:00:05 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2016-09-07 13:10:10 +0100
commit7e567624dc5a44276d9df253f5ca829d911b4e93 (patch)
tree224f8e3f993b2824835e8610b210dab21ccd8c37 /include/dt-bindings
parentdrm/i2c: tda998x: Improve tda998x_configure_audio() audio related pdata (diff)
downloadlinux-dev-7e567624dc5a44276d9df253f5ca829d911b4e93.tar.xz
linux-dev-7e567624dc5a44276d9df253f5ca829d911b4e93.zip
drm/i2c: tda998x: Register ASoC hdmi-codec and add audio DT binding
Register ASoC HDMI codec for audio functionality and adds device tree binding for audio configuration. With the registered HDMI codec the tda998x node can be used like a regular codec node in ASoC card configurations. HDMI audio info-frame and audio stream header is generated by the ASoC HDMI codec. The codec also applies constraints for available sample-rates based on Edid Like Data from the display. The device tree binding document has been updated [1]. Part of this patch has been inspired by Jean Francoise's "drm/i2c: tda998x: Add support of a DT graph of ports"-patch [2]. There may still be some identical lines left from the original patch and some of the ideas have come from there. [1] Documentation/devicetree/bindings/display/bridge/tda998x.txt [2] http://mailman.alsa-project.org/pipermail/alsa-devel/2015-July/095255.html Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/display/tda998x.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dt-bindings/display/tda998x.h b/include/dt-bindings/display/tda998x.h
new file mode 100644
index 000000000000..34757a3847ef
--- /dev/null
+++ b/include/dt-bindings/display/tda998x.h
@@ -0,0 +1,7 @@
+#ifndef _DT_BINDINGS_TDA998X_H
+#define _DT_BINDINGS_TDA998X_H
+
+#define TDA998x_SPDIF 1
+#define TDA998x_I2S 2
+
+#endif /*_DT_BINDINGS_TDA998X_H */