Skip to content

Commit ed0d50e

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: display: imx: Add television encoder (TVE) for imx53
Add television encoder (TVE) for legacy i.MX53 (over 15 years) to fix below DTB_CHECK warnings: arch/arm/boot/dts/nxp/imx/imx53-ard.dtb: /soc/bus@60000000/tve@63ff0000: failed to match any schema with compatible: ['fsl,imx53-tve'] Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260521193734.1496372-1-Frank.Li@oss.nxp.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 98e2a77 commit ed0d50e

1 file changed

Lines changed: 104 additions & 0 deletions

File tree

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/imx/fsl,imx53-tve.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale i.MX53 Television Encoder (TVE)
8+
9+
maintainers:
10+
- Frank Li <Frank.Li@nxp.com>
11+
12+
description:
13+
The Television Encoder (TVE) is a hardware block in the i.MX53 SoC that
14+
converts digital video data into analog TV signals (NTSC/PAL).
15+
16+
properties:
17+
compatible:
18+
const: fsl,imx53-tve
19+
20+
reg:
21+
maxItems: 1
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
clocks:
27+
items:
28+
- description: TVE gate clock
29+
- description: Display interface selector clock
30+
31+
clock-names:
32+
items:
33+
- const: tve
34+
- const: di_sel
35+
36+
ddc-i2c-bus:
37+
$ref: /schemas/types.yaml#/definitions/phandle
38+
description:
39+
Phandle to the I2C bus used for DDC (Display Data Channel) communication
40+
to read EDID information from the connected display.
41+
42+
dac-supply:
43+
description:
44+
Regulator supply for the TVE DAC (Digital-to-Analog Converter).
45+
46+
fsl,tve-mode:
47+
$ref: /schemas/types.yaml#/definitions/string
48+
description:
49+
TVE output mode selection.
50+
enum:
51+
- ntsc
52+
- pal
53+
- vga
54+
55+
fsl,hsync-pin:
56+
$ref: /schemas/types.yaml#/definitions/uint32
57+
description:
58+
Pin number for horizontal sync signal in VGA mode.
59+
minimum: 0
60+
maximum: 8
61+
62+
fsl,vsync-pin:
63+
$ref: /schemas/types.yaml#/definitions/uint32
64+
description:
65+
Pin number for vertical sync signal in VGA mode.
66+
minimum: 0
67+
maximum: 8
68+
69+
port:
70+
$ref: /schemas/graph.yaml#/properties/port
71+
description:
72+
Port node with one endpoint connected to the IPU display interface.
73+
74+
required:
75+
- compatible
76+
- reg
77+
- interrupts
78+
- clocks
79+
- clock-names
80+
- fsl,tve-mode
81+
82+
additionalProperties: false
83+
84+
examples:
85+
- |
86+
#include <dt-bindings/clock/imx5-clock.h>
87+
#include <dt-bindings/interrupt-controller/irq.h>
88+
89+
tve@63ff0000 {
90+
compatible = "fsl,imx53-tve";
91+
reg = <0x63ff0000 0x1000>;
92+
interrupts = <92>;
93+
clocks = <&clks IMX5_CLK_TVE_GATE>,
94+
<&clks IMX5_CLK_IPU_DI1_SEL>;
95+
clock-names = "tve", "di_sel";
96+
fsl,tve-mode = "vga";
97+
98+
port {
99+
endpoint {
100+
remote-endpoint = <&ipu_di1_tve>;
101+
};
102+
};
103+
};
104+

0 commit comments

Comments
 (0)