1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/i2c/aptina,mt9v111.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Aptina MT9V111 CMOS sensor
8
9maintainers:
10  - Jacopo Mondi <jacopo@jmondi.org>
11
12description: |
13  The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core
14  based on Aptina MT9V011 sensor and an integrated Image Flow Processor (IFP).
15
16  The sensor has an active pixel array of 640x480 pixels and can output a number
17  of image resolutions and formats controllable through a simple two-wires
18  interface.
19
20properties:
21  compatible:
22    const: aptina,mt9v111
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30  enable-gpios:
31    description: Enable signal, pin name "OE#". Active low.
32    maxItems: 1
33
34  standby-gpios:
35    description: |
36      Low power state control signal, pin name "STANDBY". Active high.
37    maxItems: 1
38
39  reset-gpios:
40    description: Chip reset signal, pin name "RESET#". Active low.
41    maxItems: 1
42
43  port:
44    $ref: /schemas/graph.yaml#/properties/port
45    description: |
46      Output video port.
47
48required:
49  - compatible
50  - reg
51  - clocks
52  - port
53
54additionalProperties: false
55
56examples:
57  - |
58    i2c {
59        #address-cells = <1>;
60        #size-cells = <0>;
61
62        camera@48 {
63            compatible = "aptina,mt9v111";
64            reg = <0x48>;
65            clocks = <&camera_clk>;
66
67            port {
68                mt9v111_out: endpoint {
69                    remote-endpoint = <&ceu_in>;
70                };
71            };
72        };
73    };
74
75...
76