OmniVision OV64A40 Image Sensor

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

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

Maintainers (maintainers): "Jacopo Mondi <jacopo.mondi@ideasonboard.com>"

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

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

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.1 volts

dovdd-supply — not listed as required here #

Digital I/O voltage supply, 1.8 volts

powerdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

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 matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

bus-type — required here

Allowed values (enum): 1, 4

data-lanes — required here

true — No constraints added by this property rule.

link-frequencies — required here

true — No constraints added by this property rule.

clock-noncontinuous — not listed as required here

true — No constraints added by this property rule.

remote-endpoint — not listed as required here

true — No constraints added by this property rule.

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

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>;

    camera@36 {
        compatible = "ovti,ov64a40";
        reg = <0x36>;
        clocks = <&camera_clk>;
        dovdd-supply = <&vgen4_reg>;
        avdd-supply = <&vgen3_reg>;
        dvdd-supply = <&vgen2_reg>;
        powerdown-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
        rotation = <180>;
        orientation = <2>;

        port {
            endpoint {
                remote-endpoint = <&mipi_csi2_in>;
                bus-type = <4>;
                data-lanes = <1 2 3 4>;
                link-frequencies = /bits/ 64 <456000000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 52: MIPI CSI-2 C-PHY

Line 53: MIPI CSI-2 D-PHY

Edit this page