OmniVision OV8865 Image Sensor

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov8865.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,ov8865"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

EXTCLK Clock

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

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): 4

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

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

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

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

        pinctrl-names = "default";
        pinctrl-0 = <&csi_mclk_pin>;

        clocks = <&ccu CLK_CSI_MCLK>;

        avdd-supply = <&reg_ov8865_avdd>;
        dovdd-supply = <&reg_ov8865_dovdd>;
        dvdd-supply = <&reg_ov8865_dvdd>;

        powerdown-gpios = <&pio 4 17 GPIO_ACTIVE_LOW>; /* PE17 */
        reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */

        port {
            ov8865_out_mipi_csi2: endpoint {
                data-lanes = <1 2 3 4>;
                link-frequencies = /bits/ 64 <360000000>;

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

Source notes #

Annotations retained from the schema source

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

Edit this page