xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/sony,imx274.yaml (revision 9768746ba83efa02837c5b9c66348db6e900208f)
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/sony,imx274.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sony 1/2.5-Inch 8.51MP CMOS Digital Image Sensor
8
9maintainers:
10  - Leon Luo <leonl@leopardimaging.com>
11
12description: |
13  The Sony IMX274 is a 1/2.5-inch CMOS active pixel digital image sensor with an
14  active array size of 3864H x 2202V. It is programmable through I2C interface.
15  Image data is sent through MIPI CSI-2, which is configured as 4 lanes at 1440
16  Mbps.
17
18properties:
19  compatible:
20    const: sony,imx274
21
22  reg:
23    const: 0x1a
24
25  reset-gpios:
26    maxItems: 1
27
28  clocks:
29    maxItems: 1
30
31  clock-names:
32    const: inck
33
34  vana-supply:
35    description: Sensor 2.8 V analog supply.
36
37  vdig-supply:
38    description: Sensor 1.8 V digital core supply.
39
40  vddl-supply:
41    description: Sensor digital IO 1.2 V supply.
42
43  port:
44    $ref: /schemas/graph.yaml#/properties/port
45
46required:
47  - compatible
48  - reg
49  - port
50
51additionalProperties: false
52
53examples:
54  - |
55    i2c0 {
56        #address-cells = <1>;
57        #size-cells = <0>;
58
59        imx274: camera-sensor@1a {
60            compatible = "sony,imx274";
61            reg = <0x1a>;
62            reset-gpios = <&gpio_sensor 0 0>;
63
64            port {
65                sensor_out: endpoint {
66                    remote-endpoint = <&csiss_in>;
67                };
68            };
69        };
70    };
71
72...
73