# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVIDIA Tegra VIP (parallel video capture) controller

maintainers:
  - Luca Ceresoli <luca.ceresoli@bootlin.com>

properties:
  compatible:
    enum:
      - nvidia,tegra20-vip

  ports:
    $ref: /schemas/graph.yaml#/properties/ports

    properties:
      port@0:
        $ref: /schemas/graph.yaml#/properties/port
        description:
          Port receiving the video stream from the sensor

      port@1:
        $ref: /schemas/graph.yaml#/properties/port
        description:
          Port sending the video stream to the VI

    required:
      - port@0
      - port@1

unevaluatedProperties: false

required:
  - compatible
  - ports

# see nvidia,tegra20-vi.yaml for an example
