onsemi 1/6-inch 720p CMOS Digital Image Sensor

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

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

The onsemi MT9M114 is a 1/6-inch 720p (1.26 Mp) CMOS digital image sensor with an active pixel-array size of 1296H x 976V. It is programmable through an I2C interface and outputs image data over a 8-bit parallel or 1-lane MIPI CSI-2 connection.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "onnn,mt9m114"

reg — required here #

I2C device address

Allowed values (enum): 72, 93

clocks — required here #

EXTCLK clock signal

Maximum number of items (maxItems): 1

vdd-supply — required here #

Core digital voltage supply, 1.8V

vddio-supply — required here #

I/O digital voltage supply, 1.8V or 2.8V

vaa-supply — required here #

Analog voltage supply, 2.8V

reset-gpios — not listed as required here #

Reference to the GPIO connected to the RESET_BAR pin, if any (active low).

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 matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

bus-type — required here

Allowed values (enum): 4, 5, 6

link-frequencies — required here

true — No constraints added by this property rule.

remote-endpoint — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "bus-type", "link-frequencies"

slew-rate — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Slew rate ot the output pads DOUT[7:0], LINE_VALID, FRAME_VALID and PIXCLK. Higher values imply steeper voltage-flanks on the pads.

Minimum value (minimum): 0

Maximum value (maximum): 7

Default value (default): 7

Required in this object (required): "compatible", "reg", "clocks", "vdd-supply", "vddio-supply", "vaa-supply", "port"

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

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>;

    sensor@48 {
        compatible = "onnn,mt9m114";
        reg = <0x48>;

        clocks = <&clk24m 0>;

        reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;

        vddio-supply = <&reg_cam_1v8>;
        vdd-supply = <&reg_cam_1v8>;
        vaa-supply = <&reg_2p8v>;

        port {
            endpoint {
                bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
                link-frequencies = /bits/ 64 <384000000>;
                remote-endpoint = <&mipi_csi_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 65: The number and mapping of lanes (for CSI-2), and the bus width and

Line 66: signal polarities (for parallel and BT.656) are fixed and must not

Line 67: be specified.

Edit this page