1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/display/bridge/nxp,tda998x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP TDA998x HDMI transmitter
10 - Russell King <linux@armlinux.org.uk>
23 $ref: /schemas/types.yaml#/definitions/uint32
27 24 bits value which defines how the video controller output is wired to
32 Array of 8-bit values, 2 values per DAI (Documentation/sound/soc/dai.rst).
33 The implementation allows one or two DAIs.
34 If two DAIs are defined, they must be of different type.
35 $ref: /schemas/types.yaml#/definitions/uint32-matrix
40 The first value defines the DAI type: TDA998x_SPDIF or TDA998x_I2S
41 (see include/dt-bindings/display/tda998x.h).
43 The second value defines the tda998x AP_ENA reg content when the
44 DAI in question is used.
52 Calibration GPIO, which must correspond with the gpio used for the
53 TDA998x interrupt pin.
56 $ref: /schemas/graph.yaml#/properties/port
57 description: Parallel input port
60 $ref: /schemas/graph.yaml#/properties/ports
65 description: Parallel input port
69 description: HDMI output port
81 additionalProperties: false
85 #include <dt-bindings/display/tda998x.h>
86 #include <dt-bindings/interrupt-controller/irq.h>
92 tda998x: hdmi-encoder@70 {
93 compatible = "nxp,tda998x";
95 interrupt-parent = <&gpio0>;
96 interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
97 video-ports = <0x230145>;
99 #sound-dai-cells = <1>;
100 /* DAI-format / AP_ENA reg value */
101 audio-ports = <TDA998x_SPDIF 0x04>,
105 tda998x_in: endpoint {
106 remote-endpoint = <&lcdc_0>;