Sony IMX412 Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx412.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul J. Murphy <paul.j.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
IMX412 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 4072H x 3176V. It is programmable through I2C interface. The I2C client address is fixed to 0x1a as per sensor data sheet. Image data is sent through MIPI CSI-2.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sony,imx412", "sony,imx577"
reg — required here #
I2C address
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency 6MHz, 12MHz, 18MHz, 24MHz or 27MHz
Maximum number of items (maxItems): 1
dovdd-supply — not listed as required here #
Interface power supply.
avdd-supply — not listed as required here #
Analog power supply.
dvdd-supply — not listed as required here #
Digital power supply.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XCLR pin, if any.
Maximum number of items (maxItems): 1
port — required here #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties and child nodes (properties) #
endpoint — 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
true — No constraints added by this property rule.
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "endpoint"
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>;
camera@1a {
compatible = "sony,imx412";
reg = <0x1a>;
clocks = <&imx412_clk>;
port {
imx412: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <600000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Intel Corporation