Omnivision OV08X40 CMOS Sensor

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

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

Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"

The Omnivision OV08X40 is a 9.2 megapixel, CMOS image sensor which supports:
- Automatic black level calibration (ABLC)
- Programmable controls for frame rate, mirror and flip, binning, cropping
  and windowing
- Output formats 10-bit 4C RGB RAW, 10-bit Bayer RAW
- 4-lane MIPI D-PHY TX @ 1 Gbps per lane
- 2-lane MPIP D-PHY TX @ 2 Gbps per lane
- Dynamic defect pixel cancellation
- Standard SCCB command interface

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

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 #

Analogue circuit voltage supply.

dovdd-supply — not listed as required here #

I/O circuit voltage supply.

dvdd-supply — not listed as required here #

Digital circuit voltage supply.

reset-gpios — not listed as required here #

Active low GPIO connected to XSHUTDOWN pad of the sensor.

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)

data-lanes — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Rule 2

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

link-frequencies — required here

true — No constraints added by this property rule.

remote-endpoint — required here

true — No constraints added by this property rule.

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

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

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

        reset-gpios = <&tlmm 111 GPIO_ACTIVE_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&cam_rgb_defaultt>;

        clocks = <&ov08x40_clk>;

        assigned-clocks = <&ov08x40_clk>;
        assigned-clock-parents = <&ov08x40_clk_parent>;
        assigned-clock-rates = <19200000>;

        avdd-supply = <&vreg_l7b_2p8>;
        dvdd-supply = <&vreg_l7b_1p8>;
        dovdd-supply = <&vreg_l3m_1p8>;

        port {
            ov08x40_ep: endpoint {
                remote-endpoint = <&csiphy4_ep>;
                data-lanes = <1 2 3 4>;
                link-frequencies = /bits/ 64 <400000000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (c) 2024 Linaro Ltd.

Edit this page