Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / faraday,tve200.yaml
blobe2ee7776732112c35c285d8c03681375c0290c82
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/faraday,tve200.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Faraday TV Encoder TVE200
9 maintainers:
10   - Linus Walleij <linus.walleij@linaro.org>
12 properties:
13   compatible:
14     oneOf:
15       - const: faraday,tve200
16       - items:
17           - const: cortina,gemini-tvc
18           - const: faraday,tve200
20   reg:
21     maxItems: 1
23   interrupts:
24     minItems: 1
26   clock-names:
27     items:
28       - const: PCLK
29       - const: TVE
31   clocks:
32     minItems: 2
34   resets:
35     minItems: 1
37   port:
38     $ref: /schemas/graph.yaml#/properties/port
40 required:
41   - compatible
42   - reg
43   - interrupts
44   - clock-names
45   - clocks
47 additionalProperties: false
49 examples:
50   - |
51     #include <dt-bindings/clock/cortina,gemini-clock.h>
52     #include <dt-bindings/interrupt-controller/irq.h>
53     #include <dt-bindings/reset/cortina,gemini-reset.h>
54     display-controller@6a000000 {
55       compatible = "faraday,tve200";
56       reg = <0x6a000000 0x1000>;
57       interrupts = <13 IRQ_TYPE_EDGE_RISING>;
58       resets = <&syscon GEMINI_RESET_TVC>;
59       clocks = <&syscon GEMINI_CLK_GATE_TVC>,
60                <&syscon GEMINI_CLK_TVC>;
61       clock-names = "PCLK", "TVE";
63       port {
64         display_out: endpoint {
65           remote-endpoint = <&panel_in>;
66         };
67       };
68     };