OmniVision OV7251 Image Sensor

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

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

The Omnivision OV7251 is a 1/7.5-Inch CMOS active pixel digital image sensor with an active array size of 640H x 480V. It is programmable through a serial I2C interface.

Maintainers (maintainers): "Todor Tomov <todor.too@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ovti,ov7251"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

XCLK Input Clock

clock-names — not listed as required here #

Exact value (const): "xclk"

clock-frequency — not listed as required here #

Frequency of the xclk clock in Hz.

Deprecated (deprecated): true

vdda-supply — required here #

Analog voltage supply, 2.8 volts

vddd-supply — not listed as required here #

Digital core voltage supply, 1.2 volts

vdddo-supply — required here #

Digital I/O voltage supply, 1.8 volts

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Reference to the GPIO connected to the XSHUTDOWN pin, if any. Polarity is GPIO_ACTIVE_HIGH.

port — required here #

Digital Output Port

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)

clock-lanes — not listed as required here

Maximum value (maximum): 1

data-lanes — required here

Maximum number of items (maxItems): 1

link-frequencies — required here

true — No constraints added by this property rule.

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

Required in this object (required): "compatible", "reg", "clocks", "vdddo-supply", "vdda-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>

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

    camera@3c {
        compatible = "ovti,ov7251";
        reg = <0x3c>;

        clocks = <&clks 1>;
        assigned-clocks = <&clks 1>;
        assigned-clock-rates = <24000000>;

        vdddo-supply = <&ov7251_vdddo_1v8>;
        vdda-supply = <&ov7251_vdda_2v8>;
        vddd-supply = <&ov7251_vddd_1v5>;
        enable-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;

        port {
            ov7251_ep: endpoint {
                remote-endpoint = <&csi0_ep>;
                clock-lanes = <1>;
                data-lanes = <0>;
                link-frequencies = /bits/ 64 <240000000 319200000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page