Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor

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

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

Maintainers (maintainers): "Ricardo Ribalda <ribalda@kernel.org>"

The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with an active array size of 4224H x 3200V. It is programmable through an I2C interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a maximum throughput of 1.2Gbps/lane.

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,imx214"

reg — required here #

Allowed values (enum): 16, 26

clocks — required here #

Reference to the xclk clock.

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Frequency of the xclk clock in Hz.

Deprecated (deprecated): true

enable-gpios — required here #

GPIO descriptor for the enable pin.

Maximum number of items (maxItems): 1

vdda-supply — required here #

Chip analog regulator (2.7V).

vddd-supply — required here #

Chip digital core regulator (1.12V).

vdddo-supply — required here #

Chip digital IO regulator (1.8V).

flash-leds — not listed as required here #

true — No constraints added by this property rule.

lens-focus — not listed as required here #

true — No constraints added by this property rule.

port — required here #

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

Video output port.

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 — required here

At least one of these rules must match (anyOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Rule 2

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

link-frequencies — required here

true — No constraints added by this property rule.

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

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", "enable-gpios", "vdda-supply", "vddd-supply", "vdddo-supply", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

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

    camera-sensor@1a {
        compatible = "sony,imx214";
        reg = <0x1a>;

        clocks = <&camera_clk>;
        assigned-clocks = <&camera_clk>;
        assigned-clock-rates = <24000000>;

        enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;

        vdda-supply = <&pm8994_l17>;
        vddd-supply = <&camera_vddd_1v12>;
        vdddo-supply = <&pm8994_lvs1>;

        lens-focus = <&ad5820>;

        port {
            imx214_ep: endpoint {
                data-lanes = <1 2 3 4>;
                link-frequencies = /bits/ 64 <600000000>;
                remote-endpoint = <&csiphy0_ep>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page