1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Allwinner A10 TV Encoder Device Tree Bindings
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Chen-Yu Tsai <wens@csie.org>
11*4882a593Smuzhiyun  - Maxime Ripard <mripard@kernel.org>
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunproperties:
14*4882a593Smuzhiyun  compatible:
15*4882a593Smuzhiyun    const: allwinner,sun4i-a10-tv-encoder
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun  reg:
18*4882a593Smuzhiyun    maxItems: 1
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun  clocks:
21*4882a593Smuzhiyun    maxItems: 1
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun  resets:
24*4882a593Smuzhiyun    maxItems: 1
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun  port:
27*4882a593Smuzhiyun    type: object
28*4882a593Smuzhiyun    description:
29*4882a593Smuzhiyun      A port node with endpoint definitions as defined in
30*4882a593Smuzhiyun      Documentation/devicetree/bindings/media/video-interfaces.txt. The
31*4882a593Smuzhiyun      first port should be the input endpoint, usually coming from the
32*4882a593Smuzhiyun      associated TCON.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunrequired:
35*4882a593Smuzhiyun  - compatible
36*4882a593Smuzhiyun  - reg
37*4882a593Smuzhiyun  - clocks
38*4882a593Smuzhiyun  - resets
39*4882a593Smuzhiyun  - port
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunadditionalProperties: false
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunexamples:
44*4882a593Smuzhiyun  - |
45*4882a593Smuzhiyun    tve0: tv-encoder@1c0a000 {
46*4882a593Smuzhiyun        compatible = "allwinner,sun4i-a10-tv-encoder";
47*4882a593Smuzhiyun        reg = <0x01c0a000 0x1000>;
48*4882a593Smuzhiyun        clocks = <&ahb_gates 34>;
49*4882a593Smuzhiyun        resets = <&tcon_ch0_clk 0>;
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun        port {
52*4882a593Smuzhiyun            tve0_in_tcon0: endpoint {
53*4882a593Smuzhiyun                remote-endpoint = <&tcon0_out_tve0>;
54*4882a593Smuzhiyun            };
55*4882a593Smuzhiyun        };
56*4882a593Smuzhiyun    };
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun...
59