File Index
Files and directories
Sign in
FILE

ovti,ov2735.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,ov2735.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2%YAML 1.2
  3---
  4$id: http://devicetree.org/schemas/media/i2c/ovti,ov2735.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: OmniVision OV2735 Image Sensor
  8
  9maintainers:
 10  - Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
 11
 12description:
 13  The OmniVision OV2735 is a 2MP (1920x1080) color CMOS image sensor controlled
 14  through an I2C-compatible SCCB bus. it outputs RAW10 format and uses a 1/2.7"
 15  optical format.
 16
 17properties:
 18  compatible:
 19    const: ovti,ov2735
 20
 21  reg:
 22    maxItems: 1
 23
 24  clocks:
 25    items:
 26      - description: XVCLK clock
 27
 28  avdd-supply:
 29    description: Analog Domain Power Supply
 30
 31  dovdd-supply:
 32    description: I/O Domain Power Supply
 33
 34  dvdd-supply:
 35    description: Digital Domain Power Supply
 36
 37  reset-gpios:
 38    maxItems: 1
 39    description: Reset Pin GPIO Control (active low)
 40
 41  enable-gpios:
 42    maxItems: 1
 43    description:
 44      Active-low enable pin. Labeled as 'PWDN' in the datasheet, but acts as
 45      an enable signal. During power rail ramp-up, the device remains powered
 46      down. Once power rails are stable, pulling this pin low powers on the
 47      device.
 48
 49  port:
 50    description: MIPI CSI-2 transmitter 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        properties:
 60          data-lanes:
 61            items:
 62              - const: 1
 63              - const: 2
 64
 65        required:
 66          - data-lanes
 67          - link-frequencies
 68
 69required:
 70  - compatible
 71  - reg
 72  - clocks
 73  - avdd-supply
 74  - dovdd-supply
 75  - dvdd-supply
 76  - port
 77
 78additionalProperties: false
 79
 80examples:
 81  - |
 82    #include <dt-bindings/gpio/gpio.h>
 83
 84    i2c {
 85        #address-cells = <1>;
 86        #size-cells = <0>;
 87
 88        camera-sensor@3c {
 89            compatible = "ovti,ov2735";
 90            reg = <0x3c>;
 91            clocks = <&ov2735_clk>;
 92
 93            avdd-supply = <&ov2735_avdd>;
 94            dovdd-supply = <&ov2735_dovdd>;
 95            dvdd-supply = <&ov2735_dvdd>;
 96
 97            reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
 98            enable-gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
 99
100            port {
101                cam_out: endpoint {
102                    remote-endpoint = <&mipi_in_cam>;
103                    data-lanes = <1 2>;
104                    link-frequencies = /bits/ 64 <420000000>;
105                };
106            };
107        };
108    };
~/ Read-only file preview.