xref: /freebsd/sys/contrib/device-tree/Bindings/display/allwinner,sun4i-a10-tv-encoder.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Allwinner A10 TV Encoder
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Chen-Yu Tsai <wens@csie.org>
11c66ec88fSEmmanuel Vadot  - Maxime Ripard <mripard@kernel.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotproperties:
14c66ec88fSEmmanuel Vadot  compatible:
15c66ec88fSEmmanuel Vadot    const: allwinner,sun4i-a10-tv-encoder
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot  reg:
18c66ec88fSEmmanuel Vadot    maxItems: 1
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot  clocks:
21c66ec88fSEmmanuel Vadot    maxItems: 1
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  resets:
24c66ec88fSEmmanuel Vadot    maxItems: 1
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  port:
275def4c47SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/port
28c66ec88fSEmmanuel Vadot    description:
295def4c47SEmmanuel Vadot      The first port should be the input endpoint, usually coming from the
30c66ec88fSEmmanuel Vadot      associated TCON.
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadotrequired:
33c66ec88fSEmmanuel Vadot  - compatible
34c66ec88fSEmmanuel Vadot  - reg
35c66ec88fSEmmanuel Vadot  - clocks
36c66ec88fSEmmanuel Vadot  - resets
37c66ec88fSEmmanuel Vadot  - port
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel VadotadditionalProperties: false
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadotexamples:
42c66ec88fSEmmanuel Vadot  - |
43c66ec88fSEmmanuel Vadot    tve0: tv-encoder@1c0a000 {
44c66ec88fSEmmanuel Vadot        compatible = "allwinner,sun4i-a10-tv-encoder";
45c66ec88fSEmmanuel Vadot        reg = <0x01c0a000 0x1000>;
46c66ec88fSEmmanuel Vadot        clocks = <&ahb_gates 34>;
47c66ec88fSEmmanuel Vadot        resets = <&tcon_ch0_clk 0>;
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot        port {
50c66ec88fSEmmanuel Vadot            tve0_in_tcon0: endpoint {
51c66ec88fSEmmanuel Vadot                remote-endpoint = <&tcon0_out_tve0>;
52c66ec88fSEmmanuel Vadot            };
53c66ec88fSEmmanuel Vadot        };
54c66ec88fSEmmanuel Vadot    };
55c66ec88fSEmmanuel Vadot
56c66ec88fSEmmanuel Vadot...
57