Omnivision OV4689 CMOS
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov4689.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mikhail Rudenko <mike.rudenko@gmail.com>"
The Omnivision OV4689 is a high performance, 1/3-inch, 4 megapixel image sensor. Ihis chip supports high frame rate speeds up to 90 fps at 2688x1520 resolution. It is programmable through an I2C interface, and sensor output is sent via 1/2/4 lane MIPI CSI-2 connection.
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,ov4689"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
External clock (XVCLK) for the sensor, 6-64 MHz
Maximum number of items (maxItems): 1
dovdd-supply — required here #
Digital I/O voltage supply, 1.7-3.0 V
avdd-supply — required here #
Analog voltage supply, 2.6-3.0 V
dvdd-supply — required here #
Digital core voltage supply, 1.1-1.3 V
powerdown-gpios — not listed as required here #
GPIO connected to the powerdown pin (active low)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO connected to the reset pin (active low)
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.
Output port node, single endpoint describing the CSI-2 transmitter
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)
data-lanes — required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2Item 3
Exact value (
const):3Item 4
Exact value (
const):4
Rule 2
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
Rule 3
Array item rules (
items)Item 1
Exact value (
const):1
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "dovdd-supply", "avdd-supply", "dvdd-supply", "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>;
ov4689: camera@36 {
compatible = "ovti,ov4689";
reg = <0x36>;
clocks = <&ov4689_clk>;
avdd-supply = <&ov4689_avdd>;
dovdd-supply = <&ov4689_dovdd>;
dvdd-supply = <&ov4689_dvdd>;
powerdown-gpios = <&pio 107 GPIO_ACTIVE_LOW>;
reset-gpios = <&pio 109 GPIO_ACTIVE_LOW>;
orientation = <2>;
rotation = <0>;
port {
wcam_out: endpoint {
remote-endpoint = <&mipi_in_wcam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <504000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)