OmniVision OV2685 Image Sensor

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

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

Maintainers (maintainers): "Shunqian Zheng <zhengsq@rock-chips.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ovti,ov2685"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

XVCLK clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xvclk"

dvdd-supply — required here #

Digital Domain Power Supply

avdd-supply — required here #

Analog Domain Power Supply

dovdd-supply — required here #

I/O Domain Power Supply

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Reset Pin GPIO Control (active low)

port — required here #

MIPI CSI-2 transmitter 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)

data-lanes — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

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

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "dvdd-supply", "avdd-supply", "dovdd-supply", "port"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/gpio/gpio.h>

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

    ov2685: camera-sensor@3c {
        compatible = "ovti,ov2685";
        reg = <0x3c>;
        pinctrl-names = "default";
        pinctrl-0 = <&clk_24m_cam>;

        clocks = <&cru SCLK_TESTCLKOUT1>;
        clock-names = "xvclk";

        avdd-supply = <&pp2800_cam>;
        dovdd-supply = <&pp1800>;
        dvdd-supply = <&pp1800>;
        reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;

        port {
            ucam_out: endpoint {
                remote-endpoint = <&mipi_in_ucam>;
                data-lanes = <1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page