Sony IMX290 1/2.8-Inch CMOS Image Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx290.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>", "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with Square Pixel, available in either mono or colour variants. It is programmable through I2C and 4-wire interfaces.
The sensor output is available via CMOS logic parallel SDR output, Low voltage LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the default. No bindings have been defined for the other busses.
imx290lqr is the full model identifier for the colour variant. "sony,imx290" is treated the same as this as it was the original compatible string. imx290llr is the mono version of the sensor.
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"sony,imx290lqr","sony,imx290llr","sony,imx327lqr","sony,imx462lqr","sony,imx462llr"
Rule 2
Exact value (
const):"sony,imx290"Deprecated (
deprecated):true
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Input clock (37.125 MHz or 74.25 MHz)
Array item rules (items) #
Item 1
Exact value (
const):"xclk"
clock-frequency — not listed as required here #
Frequency of the xclk clock in Hz
Deprecated (deprecated): true
vdda-supply — required here #
Analog power supply (2.9V)
vddd-supply — required here #
Digital core power supply (1.2V)
vdddo-supply — required here #
Digital I/O power supply (1.8V)
reset-gpios — not listed as required here #
Sensor reset (XCLR) GPIO
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Video output port
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
At least one of these rules must match (anyOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
Rule 2
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
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "vdda-supply", "vddd-supply", "vdddo-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>;
imx290: camera-sensor@1a {
compatible = "sony,imx290lqr";
reg = <0x1a>;
pinctrl-names = "default";
pinctrl-0 = <&camera_rear_default>;
clocks = <&gcc 90>;
clock-names = "xclk";
assigned-clocks = <&clks 1>;
assigned-clock-rates = <37125000>;
vdddo-supply = <&camera_vdddo_1v8>;
vdda-supply = <&camera_vdda_2v8>;
vddd-supply = <&camera_vddd_1v5>;
reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
port {
imx290_ep: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <222750000 148500000>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 33: Colour
Line 34: Monochrome
Line 35: Colour
Line 36: Colour
Line 37: Monochrome