OmniVision OV5648 Image Sensor

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

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

Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ovti,ov5648"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

XVCLK Clock

dvdd-supply — required here #

Digital Domain Power Supply

avdd-supply — not listed as required here #

Analog Domain Power Supply (internal AVDD is used if missing)

dovdd-supply — required here #

I/O Domain Power Supply

powerdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Power Down Pin GPIO Control (active low)

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)

link-frequencies — required here

true — No constraints added by this property rule.

data-lanes — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

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

Required in this object (required): "compatible", "reg", "clocks", "dvdd-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/sun8i-v3s-ccu.h>
#include <dt-bindings/gpio/gpio.h>

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

    ov5648: camera@36 {
        compatible = "ovti,ov5648";
        reg = <0x36>;

        dvdd-supply = <&ov5648_dvdd>;
        avdd-supply = <&ov5648_avdd>;
        dovdd-supply = <&ov5648_dovdd>;
        clocks = <&ov5648_xvclk 0>;

        ov5648_out: port {
            ov5648_out_mipi_csi2: endpoint {
                data-lanes = <1 2>;
                link-frequencies = /bits/ 64 <210000000 168000000>;

                remote-endpoint = <&mipi_csi2_in_ov5648>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page