Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / devicetree / bindings / display / bridge / tda998x.txt
blob24cc2466185a490067157b0b923a1fde69432649
1 Device-Tree bindings for the NXP TDA998x HDMI transmitter
3 Required properties;
4   - compatible: must be "nxp,tda998x"
6   - reg: I2C address
8 Required node:
9   - port: Input port node with endpoint definition, as described
10         in Documentation/devicetree/bindings/graph.txt
12 Optional properties:
13   - interrupts: interrupt number and trigger type
14         default: polling
16   - pinctrl-0: pin control group to be used for
17         screen plug/unplug interrupt.
19   - pinctrl-names: must contain a "default" entry.
21   - video-ports: 24 bits value which defines how the video controller
22         output is wired to the TDA998x input - default: <0x230145>
24   - audio-ports: array of 8-bit values, 2 values per one DAI[1].
25         The first value defines the DAI type: TDA998x_SPDIF or TDA998x_I2S[2].
26         The second value defines the tda998x AP_ENA reg content when the DAI
27         in question is used. The implementation allows one or two DAIs. If two
28         DAIs are defined, they must be of different type.
30 [1] Documentation/sound/alsa/soc/DAI.txt
31 [2] include/dt-bindings/display/tda998x.h
33 Example:
35 #include <dt-bindings/display/tda998x.h>
37         tda998x: hdmi-encoder {
38                 compatible = "nxp,tda998x";
39                 reg = <0x70>;
40                 interrupt-parent = <&gpio0>;
41                 interrupts = <27 2>;            /* falling edge */
42                 pinctrl-0 = <&pmx_camera>;
43                 pinctrl-names = "default";
44                 video-ports = <0x230145>;
46                 #sound-dai-cells = <2>;
47                              /* DAI-format      AP_ENA reg value */
48                 audio-ports = < TDA998x_SPDIF   0x04
49                                 TDA998x_I2S     0x03>;
51         };