Aptina 1/2.5-Inch 5Mp CMOS Digital Image Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/aptina,mt9p031.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with an active array size of 2592H x 1944V. It is programmable through a simple two-wire serial interface.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aptina,mt9p006", "aptina,mt9p031", "aptina,mt9p031m"
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
vdd-supply — required here #
Digital supply voltage, 1.8 V
vdd_io-supply — required here #
I/O supply voltage, 1.8 or 2.8 V
vaa-supply — required here #
Analog supply voltage, 2.8 V
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Chip reset GPIO
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)
input-clock-frequency — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 6000000
Maximum value (maximum): 96000000
Input clock frequency
pixel-clock-frequency — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 96000000
Target pixel clock frequency
pclk-sample — not listed as required here
Default value (default): 0
Required in this object (required): "input-clock-frequency", "pixel-clock-frequency"
Required in this object (required): "compatible", "reg", "clocks", "vdd-supply", "vdd_io-supply", "vaa-supply", "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>;
mt9p031@5d {
compatible = "aptina,mt9p031";
reg = <0x5d>;
reset-gpios = <&gpio_sensor 0 0>;
clocks = <&sensor_clk>;
vdd-supply = <®_vdd>;
vdd_io-supply = <®_vdd_io>;
vaa-supply = <®_vaa>;
port {
mt9p031_1: endpoint {
input-clock-frequency = <6000000>;
pixel-clock-frequency = <96000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)