Merge remote-tracking branch 'iommu/next'
[deliverable/linux.git] / Documentation / devicetree / bindings / display / bridge / tda998x.txt
CommitLineData
7c82e064
JFM
1Device-Tree bindings for the NXP TDA998x HDMI transmitter
2
3Required properties;
4 - compatible: must be "nxp,tda998x"
5
de4bf3d5
JFM
6 - reg: I2C address
7
e9e5f636
LD
8Required node:
9 - port: Input port node with endpoint definition, as described
10 in Documentation/devicetree/bindings/graph.txt
11
7c82e064
JFM
12Optional properties:
13 - interrupts: interrupt number and trigger type
14 default: polling
15
16 - pinctrl-0: pin control group to be used for
17 screen plug/unplug interrupt.
18
19 - pinctrl-names: must contain a "default" entry.
20
21 - video-ports: 24 bits value which defines how the video controller
22 output is wired to the TDA998x input - default: <0x230145>
23
7e567624
JS
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.
29
30[1] Documentation/sound/alsa/soc/DAI.txt
31[2] include/dt-bindings/display/tda998x.h
32
7c82e064
JFM
33Example:
34
7e567624
JS
35#include <dt-bindings/display/tda998x.h>
36
7c82e064
JFM
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";
7e567624
JS
44 video-ports = <0x230145>;
45
46 #sound-dai-cells = <2>;
47 /* DAI-format AP_ENA reg value */
48 audio-ports = < TDA998x_SPDIF 0x04
49 TDA998x_I2S 0x03>;
50
7c82e064 51 };
This page took 0.119217 seconds and 5 git commands to generate.