Sony IMX111 8MP CMOS Digital Image Sensor

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

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

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

IMX111 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 2464H x 3280V. It is programmable through I2C interface. Image data is sent through MIPI CSI-2, through 1 or 2 lanes.

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Shared schema rule ($ref): /schemas/nvmem/nvmem-consumer.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sony,imx111"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

EXTCLK with possible frequency from 6 to 54 MHz

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

iovdd-supply — not listed as required here #

Digital IO power supply (1.8V)

dvdd-supply — not listed as required here #

Digital power supply (1.2V)

avdd-supply — not listed as required here #

Analog power supply (2.7V)

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.

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 evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/media/video-interfaces.h>

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

    camera@10 {
        compatible = "sony,imx111";
        reg = <0x10>;

        clocks = <&imx111_clk>;

        iovdd-supply = <&camera_vddio_1v8>;
        dvdd-supply = <&camera_vddd_1v2>;
        avdd-supply = <&camera_vdda_2v7>;

        orientation = <1>;
        rotation = <90>;

        nvmem = <&eeprom>;
        flash-leds = <&led>;
        lens-focus = <&vcm>;

        reset-gpios = <&gpio 84 GPIO_ACTIVE_LOW>;

        port {
            imx111_output: endpoint {
                data-lanes = <1 2>;
                link-frequencies = /bits/ 64 <542400000>;
                remote-endpoint = <&csi_input>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page