Sony 1/4.0-Inch 8Mpixel CMOS Digital Image Sensor

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

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

Maintainers (maintainers): "Dave Stevenson <dave.stevenson@raspberrypi.com>"

The Sony imx219 is a 1/4.0-inch CMOS active pixel digital image sensor with an active array size of 3280H x 2464V. It is programmable through I2C interface. The I2C address is fixed to 0x10 as per sensor data sheet. Image data is sent through MIPI CSI-2, which is configured as either 2 or 4 data lanes.

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): "sony,imx219"

reg — required here #

I2C device address

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

VDIG-supply — required here #

Digital I/O voltage supply, 1.8 volts

VANA-supply — required here #

Analog voltage supply, 2.8 volts

VDDL-supply — required here #

Digital core voltage supply, 1.2 volts

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Reference to the GPIO connected to the xclr pin, if any. Must be released (set high) after all supplies are applied.

port — required here #

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)

data-lanes — not listed as required here

The sensor supports either two-lane, or four-lane operation. If this property is omitted four-lane operation is assumed. For two-lane operation the property must be set to <1 2>.

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

clock-noncontinuous — not listed as 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): "link-frequencies"

Required in this object (required): "compatible", "reg", "clocks", "VANA-supply", "VDIG-supply", "VDDL-supply", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    imx219: sensor@10 {
        compatible = "sony,imx219";
        reg = <0x10>;
        clocks = <&imx219_clk>;
        VANA-supply = <&imx219_vana>;   /* 2.8v */
        VDIG-supply = <&imx219_vdig>;   /* 1.8v */
        VDDL-supply = <&imx219_vddl>;   /* 1.2v */

        port {
            imx219_0: endpoint {
                remote-endpoint = <&csi1_ep>;
                data-lanes = <1 2>;
                clock-noncontinuous;
                link-frequencies = /bits/ 64 <456000000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page