OmniVision OV5645 Image Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5645.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov5645"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
XCLK Input Clock
clock-frequency — not listed as required here #
Frequency of the xclk clock in Hz.
Deprecated (deprecated): true
vdda-supply — required here #
Analog voltage supply, 2.8 volts
vddd-supply — required here #
Digital core voltage supply, 1.5 volts
vdddo-supply — required here #
Digital I/O voltage supply, 1.8 volts
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the PWDNB pin, if any.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the RESETB pin, if any.
port — required here #
Digital Output 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): 2
Array item rules (items)
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "clocks", "vdddo-supply", "vdda-supply", "vddd-supply", "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>;
camera@3c {
compatible = "ovti,ov5645";
reg = <0x3c>;
clocks = <&clks 1>;
assigned-clocks = <&clks 1>;
assigned-clock-rates = <24000000>;
vdddo-supply = <&ov5645_vdddo_1v8>;
vdda-supply = <&ov5645_vdda_2v8>;
vddd-supply = <&ov5645_vddd_1v5>;
enable-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5645>;
port {
ov5645_ep: endpoint {
remote-endpoint = <&csi0_ep>;
data-lanes = <1 2>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)