Maxime Ripard | f5a98bf | 2020-01-03 16:27:58 +0100 | [diff] [blame] | 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: |
Rob Herring | b675542 | 2021-01-04 11:07:23 -0700 | [diff] [blame] | 27 | $ref: /schemas/graph.yaml#/properties/port |
Maxime Ripard | f5a98bf | 2020-01-03 16:27:58 +0100 | [diff] [blame] | 28 | description: |
Rob Herring | b675542 | 2021-01-04 11:07:23 -0700 | [diff] [blame] | 29 | The first port should be the input endpoint, usually coming from the |
Maxime Ripard | f5a98bf | 2020-01-03 16:27:58 +0100 | [diff] [blame] | 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 { |
Rob Herring | 51a21e0 | 2020-02-21 16:27:10 -0600 | [diff] [blame] | 50 | tve0_in_tcon0: endpoint { |
Maxime Ripard | f5a98bf | 2020-01-03 16:27:58 +0100 | [diff] [blame] | 51 | remote-endpoint = <&tcon0_out_tve0>; |
| 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | ... |