Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-csi.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-csi.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-csi.yaml
Extension
.yaml
Size
2952 bytes
Lines
139
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

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

title: NVIDIA Tegra20 CSI controller

maintainers:
  - Svyatoslav Ryhel <clamor95@gmail.com>

properties:
  compatible:
    enum:
      - nvidia,tegra20-csi
      - nvidia,tegra30-csi

  reg:
    maxItems: 1

  clocks:
    minItems: 1
    items:
      - description: module clock
      - description: PAD A clock
      - description: PAD B clock

  clock-names:
    items:
      - const: csi
      - const: csia-pad
      - const: csib-pad

  avdd-dsi-csi-supply:
    description: DSI/CSI power supply. Must supply 1.2 V.

  power-domains:
    maxItems: 1

  "#nvidia,mipi-calibrate-cells":
    description:
      The number of cells in a MIPI calibration specifier. Should be 1.
      The single cell specifies an id of the pad that need to be
      calibrated for a given device. Valid pad ids for receiver would be
      0 for CSI-A; 1 for CSI-B; 2 for DSI-A and 3 for DSI-B.
    $ref: /schemas/types.yaml#/definitions/uint32
    const: 1

  "#address-cells":
    const: 1

  "#size-cells":
    const: 0

patternProperties:
  "^channel@[0-1]$":
    type: object
    description: channel 0 represents CSI-A and 1 represents CSI-B
    additionalProperties: false

    properties:
      reg:
        maximum: 1

      nvidia,mipi-calibrate:
        description: Should contain a phandle and a specifier specifying
          which pad is used by this CSI channel and needs to be calibrated.
        $ref: /schemas/types.yaml#/definitions/phandle-array

      "#address-cells":

Annotation

Implementation Notes