Omnivision OV02A10 CMOS Sensor

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

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

Maintainers (maintainers): "Dongchun Zhu <dongchun.zhu@mediatek.com>"

The Omnivision OV02A10 is a low-cost, high performance, 1/5-inch, 2 megapixel image sensor, which is the latest production derived from Omnivision's CMOS image sensor technology. Ihis chip supports high frame rate speeds up to 30fps @ 1600x1200 (UXGA) resolution transferred over a 1-lane MIPI interface. The sensor output is available via CSI-2 serial data output.

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): "ovti,ov02a10"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

External clock for the sensor.

Array item rules (items) #

Item 1

Exact value (const): "eclk"

clock-frequency — not listed as required here #

Frequency of the eclk clock in Hz.

Deprecated (deprecated): true

dovdd-supply — required here #

Definition of the regulator used as Digital I/O voltage supply.

avdd-supply — required here #

Definition of the regulator used as Analog voltage supply.

dvdd-supply — required here #

Definition of the regulator used as Digital core voltage supply.

powerdown-gpios — required here #

Must be the device tree identifier of the GPIO connected to the PD_PAD pin. This pin is used to place the OV02A10 into standby mode or shutdown mode. As the line needs to be high for the powerdown mode to be active, it should be marked GPIO_ACTIVE_HIGH.

Maximum number of items (maxItems): 1

reset-gpios — required here #

Must be the device tree identifier of the GPIO connected to the RST_PD pin. If specified, it will be asserted during driver probe. As the line needs to be low for the reset to be active, it should be marked GPIO_ACTIVE_LOW.

Maximum number of items (maxItems): 1

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.

Output port node, single endpoint describing the CSI-2 transmitter.

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)

link-frequencies — required here

true — No constraints added by this property rule.

ovti,mipi-clock-voltage — not listed as required here

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

Definition of MIPI clock voltage unit. This entry corresponds to the link speed defined by the 'link-frequencies' property. If present, the value shall be in the range of 0-4.

Default value (default): 4

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

Required in this object (required): "endpoint"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "dovdd-supply", "avdd-supply", "dvdd-supply", "powerdown-gpios", "reset-gpios", "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>;

    ov02a10: camera-sensor@3d {
        compatible = "ovti,ov02a10";
        reg = <0x3d>;

        powerdown-gpios = <&pio 107 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&pio 109 GPIO_ACTIVE_LOW>;

        clocks = <&ov02a10_clk>;
        clock-names = "eclk";

        rotation = <180>;

        dovdd-supply = <&ov02a10_dovdd>;
        avdd-supply = <&ov02a10_avdd>;
        dvdd-supply = <&ov02a10_dvdd>;

        port {
            wcam_out: endpoint {
                link-frequencies = /bits/ 64 <390000000>;
                ovti,mipi-clock-voltage = <3>;
                remote-endpoint = <&mipi_in_wcam>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (c) 2020 MediaTek Inc.

Edit this page