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