blob: afc0ed799e0ed20200c87735769a27c827c27f3c [file] [log] [blame]
Maxime Ripardf5a98bf2020-01-03 16:27:58 +01001# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 TV Encoder Device Tree Bindings
8
9maintainers:
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
12
13properties:
14 compatible:
15 const: allwinner,sun4i-a10-tv-encoder
16
17 reg:
18 maxItems: 1
19
20 clocks:
21 maxItems: 1
22
23 resets:
24 maxItems: 1
25
26 port:
Rob Herringb6755422021-01-04 11:07:23 -070027 $ref: /schemas/graph.yaml#/properties/port
Maxime Ripardf5a98bf2020-01-03 16:27:58 +010028 description:
Rob Herringb6755422021-01-04 11:07:23 -070029 The first port should be the input endpoint, usually coming from the
Maxime Ripardf5a98bf2020-01-03 16:27:58 +010030 associated TCON.
31
32required:
33 - compatible
34 - reg
35 - clocks
36 - resets
37 - port
38
39additionalProperties: false
40
41examples:
42 - |
43 tve0: tv-encoder@1c0a000 {
44 compatible = "allwinner,sun4i-a10-tv-encoder";
45 reg = <0x01c0a000 0x1000>;
46 clocks = <&ahb_gates 34>;
47 resets = <&tcon_ch0_clk 0>;
48
49 port {
Rob Herring51a21e02020-02-21 16:27:10 -060050 tve0_in_tcon0: endpoint {
Maxime Ripardf5a98bf2020-01-03 16:27:58 +010051 remote-endpoint = <&tcon0_out_tve0>;
52 };
53 };
54 };
55
56...