OmniVision OV8858 Image Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov8858.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo.mondi@ideasonboard.com>", "Nicholas Roth <nicholas@rothemail.net>"
The OmniVision OV8858 is a color CMOS 8 Megapixels (3264x2448) image sensor controlled through an I2C-compatible SCCB bus. The sensor transmits images on a MIPI CSI-2 output interface with up to 4 data lanes.
Shared schema rule ($ref): /schemas/media/video-interface-devices.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov8858"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
XVCLK external clock
clock-names — not listed as required here #
Exact value (const): "xvclk"
dvdd-supply — not listed as required here #
Digital Domain Power Supply
avdd-supply — not listed as required here #
Analog Domain Power Supply
dovdd-supply — not listed as required here #
I/O Domain Power Supply
powerdown-gpios — not listed as required here #
PWDNB powerdown GPIO (active low)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
XSHUTDN reset GPIO (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)
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
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/pinctrl/rockchip.h>
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov8858: camera@36 {
compatible = "ovti,ov8858";
reg = <0x36>;
clocks = <&cru SCLK_CIF_OUT>;
clock-names = "xvclk";
assigned-clocks = <&cru SCLK_CIF_OUT>;
assigned-clock-rates = <24000000>;
dovdd-supply = <&vcc1v8_dvp>;
reset-gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1 2 3 4>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)