blob: d063bac4ff362d9dd82a294b1baf9f6f98403d8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
Device-Tree bindings for the NXP TDA998x HDMI transmitter
Required properties;
- compatible: must be "nxp,tda998x"
- reg: I2C address
Required node:
- port: Input port node with endpoint definition, as described
in Documentation/devicetree/bindings/graph.txt
Optional properties:
- interrupts: interrupt number and trigger type
default: polling
- pinctrl-0: pin control group to be used for
screen plug/unplug interrupt.
- pinctrl-names: must contain a "default" entry.
- video-ports: 24 bits value which defines how the video controller
output is wired to the TDA998x input - default: <0x230145>
- audio-ports: one or two values corresponding to entries in
the audio-port-names property.
- audio-port-names: must contain "i2s", "spdif" entries
matching entries in the audio-ports property.
- #sound-dai-cells: must be set to <1> for use with the simple-card.
The DAI 0 is the I2S input and the DAI 1 is the S/PDIF input.
Example:
tda998x: hdmi-encoder {
compatible = "nxp,tda998x";
reg = <0x70>;
interrupt-parent = <&gpio0>;
interrupts = <27 2>; /* falling edge */
pinctrl-0 = <&pmx_camera>;
pinctrl-names = "default";
audio-ports = <0x03>, <0x04>;
audio-port-names = "i2s", "spdif";
#sound-dai-cells = <1>;
};
};
|