Sony IMX334 Sensor

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx334.yaml#"

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

Maintainers (maintainers): "Paul J. Murphy <paul.j.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"

IMX334 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 3864H x 2202V. It is programmable through I2C interface. The I2C client address is fixed to 0x1a as per sensor data sheet. Image data is sent through MIPI CSI-2.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sony,imx334"

reg — required here #

I2C address

Maximum number of items (maxItems): 1

clocks — required here #

Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Reference to the GPIO connected to the XCLR pin, if any.

port — required here #

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

false

Not allowed by this rule.

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

Properties and child nodes (properties) #

endpoint — 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)

data-lanes — required here

true — No constraints added by this property rule.

link-frequencies — required here

true — No constraints added by this property rule.

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

Required in this object (required): "endpoint"

Required in this object (required): "compatible", "reg", "clocks", "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>;

    camera@1a {
        compatible = "sony,imx334";
        reg = <0x1a>;
        clocks = <&imx334_clk>;

        port {
            imx334: endpoint {
                remote-endpoint = <&cam>;
                data-lanes = <1 2 3 4>;
                link-frequencies = /bits/ 64 <891000000 445500000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2021 Intel Corporation

Edit this page