brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 6e089fe Raw
94 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,ov5670.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Omnivision OV5670 5 Megapixels raw image sensor8 9maintainers:10  - Jacopo Mondi <jacopo.mondi@ideasonboard.com>11 12description: |-13  The OV5670 is a 5 Megapixels raw image sensor which provides images in 10-bits14  RAW BGGR Bayer format on a 2 data lanes MIPI CSI-2 serial interface and is15  controlled through an I2C compatible control bus.16 17properties:18  compatible:19    const: ovti,ov567020 21  reg:22    maxItems: 123 24  clocks:25    description: System clock. From 6 to 27 MHz.26    maxItems: 127 28  powerdown-gpios:29    description: Reference to the GPIO connected to the PWDNB pin. Active low.30 31  reset-gpios:32    description: Reference to the GPIO connected to the XSHUTDOWN pin. Active low.33    maxItems: 134 35  avdd-supply:36    description: Analog circuit power. Typically 2.8V.37 38  dvdd-supply:39    description: Digital circuit power. Typically 1.2V.40 41  dovdd-supply:42    description: Digital I/O circuit power. Typically 2.8V or 1.8V.43 44  port:45    $ref: /schemas/graph.yaml#/$defs/port-base46    additionalProperties: false47 48    properties:49      endpoint:50        $ref: /schemas/media/video-interfaces.yaml#51        additionalProperties: false52 53        properties:54          data-lanes:55            minItems: 156            maxItems: 257            items:58              enum: [1, 2]59 60          clock-noncontinuous: true61          remote-endpoint: true62 63required:64  - compatible65  - reg66  - clocks67  - port68 69additionalProperties: false70 71examples:72  - |73    i2c {74        #address-cells = <1>;75        #size-cells = <0>;76 77        ov5670: sensor@36 {78            compatible = "ovti,ov5670";79            reg = <0x36>;80 81            clocks = <&sensor_xclk>;82 83            port {84                ov5670_ep: endpoint {85                    remote-endpoint = <&csi_ep>;86                    data-lanes = <1 2>;87                    clock-noncontinuous;88                };89            };90        };91    };92 93...94