xref: /linux/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
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/ovti,ov9282.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: OmniVision OV9282 Sensor
9
10maintainers:
11  - Paul J. Murphy <paul.j.murphy@intel.com>
12  - Daniele Alessandrelli <daniele.alessandrelli@intel.com>
13
14description:
15  OV9282 sensor is an OmniVision black & white CMOS active pixel digital image
16  sensor with an active array size of 1296H x 816V. It is programmable through
17  I2C interface. The I2C client address is fixed to 0x60/0x70 as per sensor data
18  sheet. Image data is sent through MIPI CSI-2.
19  OV9281 has a different lens chief ray angle.
20
21properties:
22  compatible:
23    enum:
24      - ovti,ov9281
25      - ovti,ov9282
26  reg:
27    description: I2C address
28    maxItems: 1
29
30  clocks:
31    description: Clock frequency from 6 to 27MHz
32    maxItems: 1
33
34  reset-gpios:
35    description: Reference to the GPIO connected to the XCLR pin, if any.
36    maxItems: 1
37
38  avdd-supply:
39    description: Analog voltage supply, 2.8 volts
40
41  dvdd-supply:
42    description: Digital core voltage supply, 1.2 volts
43
44  dovdd-supply:
45    description: Digital I/O voltage supply, 1.8 volts
46
47  port:
48    additionalProperties: false
49    $ref: /schemas/graph.yaml#/$defs/port-base
50
51    properties:
52      endpoint:
53        $ref: /schemas/media/video-interfaces.yaml#
54        unevaluatedProperties: false
55
56        properties:
57          data-lanes: true
58          link-frequencies: true
59
60        required:
61          - data-lanes
62          - link-frequencies
63
64    required:
65      - endpoint
66
67required:
68  - compatible
69  - reg
70  - clocks
71  - port
72
73additionalProperties: false
74
75examples:
76  - |
77    i2c {
78        #address-cells = <1>;
79        #size-cells = <0>;
80
81        camera@60 {
82            compatible = "ovti,ov9282";
83            reg = <0x60>;
84            clocks = <&ov9282_clk>;
85
86            port {
87                ov9282: endpoint {
88                    remote-endpoint = <&cam>;
89                    data-lanes = <1 2>;
90                    link-frequencies = /bits/ 64 <800000000>;
91                };
92            };
93        };
94    };
95...
96