Sony IMX335 Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx335.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>"
IMX335 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 2592H x 1944V. 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 #
Exact value (const): "sony,imx335"
reg — required here #
I2C address
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog power supply (2.9V)
ovdd-supply — not listed as required here #
Interface power supply (1.8V)
dvdd-supply — not listed as required here #
Digital power supply (1.2V)
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) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@1a {
compatible = "sony,imx335";
reg = <0x1a>;
clocks = <&imx335_clk>;
avdd-supply = <&camera_vdda_2v9>;
ovdd-supply = <&camera_vddo_1v8>;
dvdd-supply = <&camera_vddd_1v2>;
reset-gpios = <&gpio 50 GPIO_ACTIVE_LOW>;
port {
imx335: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <594000000>;
};
};
};
};
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