Omnivision OV5647 raw image sensor

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

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

Maintainers (maintainers): "Dave Stevenson <dave.stevenson@raspberrypi.com>", "Jacopo Mondi <jacopo@jmondi.org>"

The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces and CCI (I2C compatible) control bus.

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

reg — required here #

I2C device address.

Maximum number of items (maxItems): 1

clocks — required here #

Reference to the xclk clock.

Maximum number of items (maxItems): 1

pwdn-gpios — not listed as required here #

Reference to the GPIO connected to the pwdn pin. Active high.

Maximum number of items (maxItems): 1

avdd-supply — not listed as required here #

Analog voltage supply, 2.8 volts

dvdd-supply — not listed as required here #

Digital core voltage supply, 1.5 volts

dovdd-supply — not listed as required here #

Digital I/O voltage supply, 1.7 - 3.0 volts

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 evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

clock-noncontinuous — not listed as required here

true — No constraints added by this property rule.

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

    ov5647: camera@36 {
        compatible = "ovti,ov5647";
        reg = <0x36>;
        clocks = <&camera_clk>;
        pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;

        port {
            camera_out: endpoint {
                remote-endpoint = <&csi1_ep1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page