File Index
Files and directories
Sign in
FILE

ovti,ov8865.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.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,ov8865.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: OmniVision OV8865 Image Sensor
  8
  9maintainers:
 10  - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
 11
 12properties:
 13  compatible:
 14    const: ovti,ov8865
 15
 16  reg:
 17    maxItems: 1
 18
 19  clocks:
 20    items:
 21      - description: EXTCLK Clock
 22
 23  dvdd-supply:
 24    description: Digital Domain Power Supply
 25
 26  avdd-supply:
 27    description: Analog Domain Power Supply
 28
 29  dovdd-supply:
 30    description: I/O Domain Power Supply
 31
 32  powerdown-gpios:
 33    maxItems: 1
 34    description: Power Down Pin GPIO Control (active low)
 35
 36  reset-gpios:
 37    maxItems: 1
 38    description: Reset Pin GPIO Control (active low)
 39
 40  port:
 41    description: MIPI CSI-2 transmitter port
 42    $ref: /schemas/graph.yaml#/$defs/port-base
 43    additionalProperties: false
 44
 45    properties:
 46      endpoint:
 47        $ref: /schemas/media/video-interfaces.yaml#
 48        unevaluatedProperties: false
 49
 50        properties:
 51          link-frequencies: true
 52
 53          data-lanes:
 54            minItems: 1
 55            maxItems: 4
 56
 57        required:
 58          - data-lanes
 59          - link-frequencies
 60
 61required:
 62  - compatible
 63  - reg
 64  - clocks
 65  - dvdd-supply
 66  - avdd-supply
 67  - dovdd-supply
 68  - port
 69
 70additionalProperties: false
 71
 72examples:
 73  - |
 74    #include <dt-bindings/clock/sun8i-a83t-ccu.h>
 75    #include <dt-bindings/gpio/gpio.h>
 76
 77    i2c {
 78        #address-cells = <1>;
 79        #size-cells = <0>;
 80
 81        ov8865: camera@36 {
 82            compatible = "ovti,ov8865";
 83            reg = <0x36>;
 84
 85            pinctrl-names = "default";
 86            pinctrl-0 = <&csi_mclk_pin>;
 87
 88            clocks = <&ccu CLK_CSI_MCLK>;
 89
 90            avdd-supply = <&reg_ov8865_avdd>;
 91            dovdd-supply = <&reg_ov8865_dovdd>;
 92            dvdd-supply = <&reg_ov8865_dvdd>;
 93
 94            powerdown-gpios = <&pio 4 17 GPIO_ACTIVE_LOW>; /* PE17 */
 95            reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */
 96
 97            port {
 98                ov8865_out_mipi_csi2: endpoint {
 99                    data-lanes = <1 2 3 4>;
100                    link-frequencies = /bits/ 64 <360000000>;
101
102                    remote-endpoint = <&mipi_csi2_in_ov8865>;
103                };
104            };
105        };
106    };
107
108...
~/ Read-only file preview.