Documentation/devicetree/bindings/media/i2c/ovti,ov5642.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/media/i2c/ovti,ov5642.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/media/i2c/ovti,ov5642.yaml
Extension
.yaml
Size
3249 bytes
Lines
142
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/ovti,ov5642.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OmniVision OV5642 Image Sensor

maintainers:
  - Fabio Estevam <festevam@gmail.com>

allOf:
  - $ref: /schemas/media/video-interface-devices.yaml#

properties:
  compatible:
    const: ovti,ov5642

  reg:
    maxItems: 1

  clocks:
    description: XCLK Input Clock

  AVDD-supply:
    description: Analog voltage supply, 2.8V.

  DVDD-supply:
    description: Digital core voltage supply, 1.5V.

  DOVDD-supply:
    description: Digital I/O voltage supply, 1.8V.

  powerdown-gpios:
    maxItems: 1
    description: Reference to the GPIO connected to the powerdown pin, if any.

  reset-gpios:
    maxItems: 1
    description: Reference to the GPIO connected to the reset pin, if any.

  port:
    $ref: /schemas/graph.yaml#/$defs/port-base
    description: |
      Video output port.

    properties:
      endpoint:
        $ref: /schemas/media/video-interfaces.yaml#
        unevaluatedProperties: false

        properties:
          bus-type:
            enum: [5, 6]

          bus-width:
            enum: [8, 10]
            default: 10

          data-shift:
            enum: [0, 2]
            default: 0

          hsync-active:
            enum: [0, 1]
            default: 1

          vsync-active:
            enum: [0, 1]
            default: 1

Annotation

Implementation Notes