Faraday TV Encoder TVE200

Schema identifier ($id): "http://devicetree.org/schemas/display/faraday,tve200.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "faraday,tve200"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "cortina,gemini-tvc"

Item 2

Exact value (const): "faraday,tve200"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "PCLK"

Item 2

Exact value (const): "TVE"

clocks — required here #

Minimum number of items (minItems): 2

resets — not listed as required here #

Minimum number of items (minItems): 1

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Required in this object (required): "compatible", "reg", "interrupts", "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/cortina,gemini-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/reset/cortina,gemini-reset.h>
display-controller@6a000000 {
  compatible = "faraday,tve200";
  reg = <0x6a000000 0x1000>;
  interrupts = <13 IRQ_TYPE_EDGE_RISING>;
  resets = <&syscon GEMINI_RESET_TVC>;
  clocks = <&syscon GEMINI_CLK_GATE_TVC>,
           <&syscon GEMINI_CLK_TVC>;
  clock-names = "PCLK", "TVE";

  port {
    display_out: endpoint {
      remote-endpoint = <&panel_in>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page