Omnivision OV8856 CMOS Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov8856.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sakari Ailus <sakari.ailus@linux.intel.com>"
The Omnivision OV8856 is a high performance, 1/4-inch, 8 megapixel, CMOS image sensor that delivers 3264x2448 at 30fps. It provides full-frame, sub-sampled, and windowed 10-bit MIPI images in various formats via the Serial Camera Control Bus (SCCB) interface. This chip is programmable through I2C and two-wire SCCB. The sensor output is available via CSI-2 serial data output (up to 4-lane).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov8856"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Input clock for the sensor.
Array item rules (items) #
Item 1
Exact value (
const):"xvclk"
clock-frequency — not listed as required here #
Frequency of the xvclk clock in Hertz.
Deprecated (deprecated): true
dovdd-supply — required here #
Definition of the regulator used as interface power supply.
avdd-supply — required here #
Definition of the regulator used as analog power supply.
dvdd-supply — required here #
Definition of the regulator used as digital power supply.
reset-gpios — required here #
The phandle and specifier for the GPIO that controls sensor reset. This corresponds to the hardware pin XSHUTDOWN which is physically 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.
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 — not listed as required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1
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):1Item 2
Exact value (
const):2Item 3
Exact value (
const):3Item 4
Exact value (
const):4
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "dovdd-supply", "avdd-supply", "dvdd-supply", "reset-gpios", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov8856: camera@10 {
compatible = "ovti,ov8856";
reg = <0x10>;
reset-gpios = <&pio 111 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&clk_24m_cam>;
clocks = <&cam_osc>;
clock-names = "xvclk";
avdd-supply = <&mt6358_vcama2_reg>;
dvdd-supply = <&mt6358_vcamd_reg>;
dovdd-supply = <&mt6358_vcamio_reg>;
port {
wcam_out: endpoint {
remote-endpoint = <&mipi_in_wcam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <360000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2019 MediaTek Inc.