File Index
Files and directories
Sign in
FILE

ovti,ov6211.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,ov6211.yaml YAML
 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/ovti,ov6211.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: OmniVision OV6211 Image Sensor
 8
 9description:
10  OmniVision OV6211 image sensor is a high performance monochrome image
11  sensor. The sensor is controlled over a serial camera control bus
12  protocol (SCCB), the widest supported output image frame size is 400x400
13  at 120 frames per second rate, data output format is 8/10-bit RAW
14  transferred over one-lane MIPI D-PHY interface.
15
16maintainers:
17  - Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
18
19allOf:
20  - $ref: /schemas/media/video-interface-devices.yaml#
21
22properties:
23  compatible:
24    const: ovti,ov6211
25
26  reg:
27    maxItems: 1
28
29  clocks:
30    description: XVCLK supply clock, 6MHz to 27MHz frequency.
31    maxItems: 1
32
33  reset-gpios:
34    description: Active low GPIO connected to XSHUTDOWN pad of the sensor.
35    maxItems: 1
36
37  strobe-gpios:
38    description: Input GPIO connected to strobe pad of the sensor.
39    maxItems: 1
40
41  avdd-supply:
42    description: Analogue voltage supply, 2.6 to 3.0 volts.
43
44  dovdd-supply:
45    description: Digital I/O voltage supply, 1.8 volts.
46
47  dvdd-supply:
48    description: Digital core voltage supply.
49
50  port:
51    $ref: /schemas/graph.yaml#/$defs/port-base
52    additionalProperties: false
53
54    properties:
55      endpoint:
56        $ref: /schemas/media/video-interfaces.yaml#
57        unevaluatedProperties: false
58
59        required:
60          - link-frequencies
61
62required:
63  - compatible
64  - reg
65  - port
66
67unevaluatedProperties: false
68
69examples:
70  - |
71      #include <dt-bindings/gpio/gpio.h>
72
73      i2c {
74          #address-cells = <1>;
75          #size-cells = <0>;
76
77          camera@60 {
78              compatible = "ovti,ov6211";
79              reg = <0x60>;
80              clocks = <&camera_clk 0>;
81              assigned-clocks = <&camera_clk 0>;
82              assigned-clock-rates = <24000000>;
83              reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
84              avdd-supply = <&vreg_2p8>;
85              dovdd-supply = <&vreg_1p8>;
86              dvdd-supply = <&vreg_1p2>;
87
88              port {
89                  endpoint {
90                      link-frequencies = /bits/ 64 <480000000>;
91                      remote-endpoint = <&mipi_csi2_ep>;
92                  };
93              };
94          };
95      };
96...
~/ Read-only file preview.