Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
Extension
.yaml
Size
2591 bytes
Lines
109
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/galaxycore,gc0308.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Galaxycore GC0308 and GC0309 Image Sensors

maintainers:
  - Sebastian Reichel <sre@kernel.org>

description: |
  The GalaxyCore GC0308 (1/6.5") and GC0309 (1/9") are 640x480 VGA sensors
  programmable through an I2C interface and connected via parallel bus.
  They include an ISP capable of auto exposure and auto white balance.

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

properties:
  compatible:
    oneOf:
      - const: galaxycore,gc0308
      - items:
          - const: galaxycore,gc0309
          - const: galaxycore,gc0308

  reg:
    const: 0x21

  clocks:
    description: Reference to the xclk clock.
    maxItems: 1

  reset-gpios:
    description: GPIO descriptor for the reset pin.
    maxItems: 1

  powerdown-gpios:
    description: GPIO descriptor for the powerdown pin.
    maxItems: 1

  vdd28-supply:
    description: 2.8V supply

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

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

        properties:
          bus-width: true
          data-shift: true
          hsync-active: true
          vsync-active: true
          data-active: true
          pclk-sample: true

        required:
          - bus-width

    additionalProperties: false

required:
  - compatible

Annotation

Implementation Notes