File Index
Files and directories
Sign in
FILE

ovti,og0ve1b.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,og0ve1b.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,og0ve1b.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: OmniVision OG0VE1B Image Sensor
 8
 9description:
10  OmniVision OG0VE1B image sensor is a low power consuming monochrome
11  image sensor. The sensor is controlled over a serial camera control
12  bus protocol (SCCB), the widest supported image size is 640x480 at
13  120 frames per second rate, data output format is 8/10-bit RAW
14  transferred over one-lane MIPI D-PHY at up to 800 Mbps.
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,og0ve1b
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: Analog voltage supply, 2.6 to 3.0 volts.
43
44  dovdd-supply:
45    description: Digital I/O voltage supply, 1.7 to 3.0 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@3e {
78              compatible = "ovti,og0ve1b";
79              reg = <0x3e>;
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 <500000000>;
91                      remote-endpoint = <&mipi_csi2_ep>;
92                  };
93              };
94          };
95      };
96
97...
~/ Read-only file preview.