NVIDIA Tegra20 CSI controller

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-csi.yaml#"

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

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nvidia,tegra20-csi", "nvidia,tegra30-csi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

module clock

Item 2

PAD A clock

Item 3

PAD B clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "csi"

Item 2

Exact value (const): "csia-pad"

Item 3

Exact value (const): "csib-pad"

avdd-dsi-csi-supply — not listed as required here #

DSI/CSI power supply. Must supply 1.2 V.

power-domains — required here #

Maximum number of items (maxItems): 1

#nvidia,mipi-calibrate-cells — not listed as required here #

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.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Exact value (const): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^channel@[0-1]$ — name matches this regular expression #

Value type (type): "object"

channel 0 represents CSI-A and 1 represents CSI-B

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Maximum value (maximum): 1

nvidia,mipi-calibrate — not listed as required here

Should contain a phandle and a specifier specifying which pad is used by this CSI channel and needs to be calibrated.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

port@0 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port receiving the video stream from the sensor

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "data-lanes"

port@1 — required here

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

port sending the video stream to the VI

Required in this object (required): "reg", "#address-cells", "#size-cells", "port@0", "port@1"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra20-csi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra30-csi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "power-domains", "#address-cells", "#size-cells"

Source notes #

Annotations retained from the schema source

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

Line 138: see nvidia,tegra20-vi.yaml for an example

Edit this page