Merge tag 'for-5.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / allwinner,sun4i-a10-tv-encoder.yaml
1 # 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
7 title: Allwinner A10 TV Encoder Device Tree Bindings
8
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
12
13 properties:
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:
27     $ref: /schemas/graph.yaml#/properties/port
28     description:
29       The first port should be the input endpoint, usually coming from the
30       associated TCON.
31
32 required:
33   - compatible
34   - reg
35   - clocks
36   - resets
37   - port
38
39 additionalProperties: false
40
41 examples:
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 {
50             tve0_in_tcon0: endpoint {
51                 remote-endpoint = <&tcon0_out_tve0>;
52             };
53         };
54     };
55
56 ...