]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i2c: tda998x: Register ASoC hdmi-codec and add audio DT binding
authorJyri Sarha <jsarha@ti.com>
Tue, 9 Aug 2016 19:00:05 +0000 (22:00 +0300)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 7 Sep 2016 12:10:10 +0000 (13:10 +0100)
commit1bcec1b55959204d58621bd80db19905f6d7ca7d
tree224f8e3f993b2824835e8610b210dab21ccd8c37
parent0cf198e460eaf7a7097dd55e3d9eda97b60f5c9e
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>
Documentation/devicetree/bindings/display/bridge/tda998x.txt
drivers/gpu/drm/i2c/Kconfig
drivers/gpu/drm/i2c/tda998x_drv.c
include/drm/i2c/tda998x.h
include/dt-bindings/display/tda998x.h [new file with mode: 0644]