Omnivision OV5670 5 Megapixels raw image sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5670.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo.mondi@ideasonboard.com>"
The OV5670 is a 5 Megapixels raw image sensor which provides images in 10-bits RAW BGGR Bayer format on a 2 data lanes MIPI CSI-2 serial interface and is controlled through an I2C compatible control bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov5670"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
System clock. From 6 to 27 MHz.
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
Reference to the GPIO connected to the PWDNB pin. Active low.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XSHUTDOWN pin. Active low.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog circuit power. Typically 2.8V.
dvdd-supply — not listed as required here #
Digital circuit power. Typically 1.2V.
dovdd-supply — not listed as required here #
Digital I/O circuit power. Typically 2.8V or 1.8V.
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 — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
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): "compatible", "reg", "clocks", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov5670: sensor@36 {
compatible = "ovti,ov5670";
reg = <0x36>;
clocks = <&sensor_xclk>;
port {
ov5670_ep: endpoint {
remote-endpoint = <&csi_ep>;
data-lanes = <1 2>;
clock-noncontinuous;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)