Allied Vision Alvium Camera

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/alliedvision,alvium-csi2.yaml#"

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

Maintainers (maintainers): "Tommaso Merciai <tomm.merciai@gmail.com>", "Martin Hecht <martin.hecht@avnet.eu>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "alliedvision,alvium-csi2"

reg — required here #

Maximum number of items (maxItems): 1

vcc-ext-in-supply — required here #

The regulator that supplies power to the VCC_EXT_IN pins.

port — required here #

Digital Output Port

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

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

false

Not allowed by this rule.

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.

Properties and child nodes (properties)

link-frequencies — required here

true — No constraints added by this property rule.

data-lanes — required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

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

Required in this object (required): "compatible", "reg", "vcc-ext-in-supply", "port"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    alvium: camera@3c {
        compatible = "alliedvision,alvium-csi2";
        reg = <0x3c>;
        vcc-ext-in-supply = <&reg_vcc_ext_in>;

        port {
            alvium_out: endpoint {
                remote-endpoint = <&mipi_csi_0_in>;
                data-lanes = <1 2 3 4>;
                link-frequencies = /bits/ 64 <681250000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page