File Index
Files and directories
Sign in
FILE

ovti,ov64a40.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,ov64a40.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,ov64a40.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: OmniVision OV64A40 Image Sensor
  8
  9maintainers:
 10  - Jacopo Mondi <jacopo.mondi@ideasonboard.com>
 11
 12allOf:
 13  - $ref: /schemas/media/video-interface-devices.yaml#
 14
 15properties:
 16  compatible:
 17    const: ovti,ov64a40
 18
 19  reg:
 20    maxItems: 1
 21
 22  clocks:
 23    maxItems: 1
 24
 25  avdd-supply:
 26    description: Analog voltage supply, 2.8 volts
 27
 28  dvdd-supply:
 29    description: Digital core voltage supply, 1.1 volts
 30
 31  dovdd-supply:
 32    description: Digital I/O voltage supply, 1.8 volts
 33
 34  powerdown-gpios:
 35    maxItems: 1
 36
 37  reset-gpios:
 38    maxItems: 1
 39
 40  port:
 41    $ref: /schemas/graph.yaml#/$defs/port-base
 42    additionalProperties: false
 43
 44    properties:
 45      endpoint:
 46        $ref: /schemas/media/video-interfaces.yaml#
 47        additionalProperties: false
 48
 49        properties:
 50          bus-type:
 51            enum:
 52              - 1 # MIPI CSI-2 C-PHY
 53              - 4 # MIPI CSI-2 D-PHY
 54          data-lanes: true
 55          link-frequencies: true
 56          clock-noncontinuous: true
 57          remote-endpoint: true
 58
 59        required:
 60          - bus-type
 61          - data-lanes
 62          - link-frequencies
 63
 64required:
 65  - compatible
 66  - reg
 67  - clocks
 68  - port
 69
 70unevaluatedProperties: false
 71
 72examples:
 73  - |
 74      #include <dt-bindings/gpio/gpio.h>
 75
 76      i2c {
 77          #address-cells = <1>;
 78          #size-cells = <0>;
 79
 80          camera@36 {
 81              compatible = "ovti,ov64a40";
 82              reg = <0x36>;
 83              clocks = <&camera_clk>;
 84              dovdd-supply = <&vgen4_reg>;
 85              avdd-supply = <&vgen3_reg>;
 86              dvdd-supply = <&vgen2_reg>;
 87              powerdown-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
 88              reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
 89              rotation = <180>;
 90              orientation = <2>;
 91
 92              port {
 93                  endpoint {
 94                      remote-endpoint = <&mipi_csi2_in>;
 95                      bus-type = <4>;
 96                      data-lanes = <1 2 3 4>;
 97                      link-frequencies = /bits/ 64 <456000000>;
 98                  };
 99              };
100          };
101      };
102
103...
~/ Read-only file preview.