brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · 2b6143a Raw
104 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Sensor8 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,ov64a4018 19  reg:20    maxItems: 121 22  clocks:23    maxItems: 124 25  avdd-supply:26    description: Analog voltage supply, 2.8 volts27 28  dvdd-supply:29    description: Digital core voltage supply, 1.1 volts30 31  dovdd-supply:32    description: Digital I/O voltage supply, 1.8 volts33 34  powerdown-gpios:35    maxItems: 136 37  reset-gpios:38    maxItems: 139 40  port:41    $ref: /schemas/graph.yaml#/$defs/port-base42    additionalProperties: false43 44    properties:45      endpoint:46        $ref: /schemas/media/video-interfaces.yaml#47        additionalProperties: false48 49        properties:50          bus-type:51            enum:52              - 1 # MIPI CSI-2 C-PHY53              - 4 # MIPI CSI-2 D-PHY54          data-lanes: true55          link-frequencies: true56          clock-noncontinuous: true57          remote-endpoint: true58 59        required:60          - bus-type61          - data-lanes62          - link-frequencies63 64required:65  - compatible66  - reg67  - clocks68  - port69 70unevaluatedProperties: false71 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...104