0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Allwinner A10 TV Encoder Device Tree Bindings
0008
0009 maintainers:
0010 - Chen-Yu Tsai <wens@csie.org>
0011 - Maxime Ripard <mripard@kernel.org>
0012
0013 properties:
0014 compatible:
0015 const: allwinner,sun4i-a10-tv-encoder
0016
0017 reg:
0018 maxItems: 1
0019
0020 clocks:
0021 maxItems: 1
0022
0023 resets:
0024 maxItems: 1
0025
0026 port:
0027 $ref: /schemas/graph.yaml#/properties/port
0028 description:
0029 The first port should be the input endpoint, usually coming from the
0030 associated TCON.
0031
0032 required:
0033 - compatible
0034 - reg
0035 - clocks
0036 - resets
0037 - port
0038
0039 additionalProperties: false
0040
0041 examples:
0042 - |
0043 tve0: tv-encoder@1c0a000 {
0044 compatible = "allwinner,sun4i-a10-tv-encoder";
0045 reg = <0x01c0a000 0x1000>;
0046 clocks = <&ahb_gates 34>;
0047 resets = <&tcon_ch0_clk 0>;
0048
0049 port {
0050 tve0_in_tcon0: endpoint {
0051 remote-endpoint = <&tcon0_out_tve0>;
0052 };
0053 };
0054 };
0055
0056 ...