xref: /linux/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (C) 2021 Intel Corporation
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/media/i2c/sony,imx334.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Sony IMX334 Sensor
9
10maintainers:
11  - Paul J. Murphy <paul.j.murphy@intel.com>
12  - Daniele Alessandrelli <daniele.alessandrelli@intel.com>
13
14description:
15  IMX334 sensor is a Sony CMOS active pixel digital image sensor with an active
16  array size of 3864H x 2202V. It is programmable through I2C interface. The
17  I2C client address is fixed to 0x1a as per sensor data sheet. Image data is
18  sent through MIPI CSI-2.
19
20properties:
21  compatible:
22    const: sony,imx334
23  reg:
24    description: I2C address
25    maxItems: 1
26
27  clocks:
28    description: Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz
29    maxItems: 1
30
31  reset-gpios:
32    description: Reference to the GPIO connected to the XCLR pin, if any.
33
34  port:
35    additionalProperties: false
36    $ref: /schemas/graph.yaml#/$defs/port-base
37
38    properties:
39      endpoint:
40        $ref: /schemas/media/video-interfaces.yaml#
41        unevaluatedProperties: false
42
43        properties:
44          data-lanes: true
45          link-frequencies: true
46
47        required:
48          - data-lanes
49          - link-frequencies
50
51    required:
52      - endpoint
53
54required:
55  - compatible
56  - reg
57  - clocks
58  - port
59
60additionalProperties: false
61
62examples:
63  - |
64    i2c {
65        #address-cells = <1>;
66        #size-cells = <0>;
67
68        camera@1a {
69            compatible = "sony,imx334";
70            reg = <0x1a>;
71            clocks = <&imx334_clk>;
72
73            port {
74                imx334: endpoint {
75                    remote-endpoint = <&cam>;
76                    data-lanes = <1 2 3 4>;
77                    link-frequencies = /bits/ 64 <891000000 445500000>;
78                };
79            };
80        };
81    };
82...
83