Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/faraday,tve200.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Faraday TV Encoder TVE200
0008 
0009 maintainers:
0010   - Linus Walleij <linus.walleij@linaro.org>
0011 
0012 properties:
0013   compatible:
0014     oneOf:
0015       - const: faraday,tve200
0016       - items:
0017           - const: cortina,gemini-tvc
0018           - const: faraday,tve200
0019 
0020   reg:
0021     maxItems: 1
0022 
0023   interrupts:
0024     minItems: 1
0025 
0026   clock-names:
0027     items:
0028       - const: PCLK
0029       - const: TVE
0030 
0031   clocks:
0032     minItems: 2
0033 
0034   resets:
0035     minItems: 1
0036 
0037   port:
0038     $ref: /schemas/graph.yaml#/properties/port
0039 
0040 required:
0041   - compatible
0042   - reg
0043   - interrupts
0044   - clock-names
0045   - clocks
0046 
0047 additionalProperties: false
0048 
0049 examples:
0050   - |
0051     #include <dt-bindings/clock/cortina,gemini-clock.h>
0052     #include <dt-bindings/interrupt-controller/irq.h>
0053     #include <dt-bindings/reset/cortina,gemini-reset.h>
0054     display-controller@6a000000 {
0055       compatible = "faraday,tve200";
0056       reg = <0x6a000000 0x1000>;
0057       interrupts = <13 IRQ_TYPE_EDGE_RISING>;
0058       resets = <&syscon GEMINI_RESET_TVC>;
0059       clocks = <&syscon GEMINI_CLK_GATE_TVC>,
0060                <&syscon GEMINI_CLK_TVC>;
0061       clock-names = "PCLK", "TVE";
0062 
0063       port {
0064         display_out: endpoint {
0065           remote-endpoint = <&panel_in>;
0066         };
0067       };
0068     };