Documentation/devicetree/bindings/media/i2c/thine,thp7312.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/media/i2c/thine,thp7312.yaml
Extension
.yaml
Size
5686 bytes
Lines
224
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)
# Copyright (c) 2023 Ideas on Board
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/thine,thp7312.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: THine THP7312

maintainers:
  - Paul Elder <paul.elder@@ideasonboard.com>

description:
  The THP7312 is a standalone ISP controlled over i2c, and is capable of
  various image processing and correction functions, including 3A control. It
  can be connected to CMOS image sensors from various vendors, supporting both
  MIPI CSI-2 and parallel interfaces. It can also output on either MIPI CSI-2
  or parallel. The hardware is capable of transmitting and receiving MIPI
  interleaved data streams with data types or multiple virtual channel
  identifiers.

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

properties:
  compatible:
    const: thine,thp7312

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
    description: CLKI clock input

  thine,boot-mode:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 1
    default: 1
    description:
      Boot mode of the THP7312, reflecting the value of the BOOT[0] pin strap.
      0 is for the SPI/2-wire slave boot, 1 is for the SPI master boot (from
      external flash ROM).

  reset-gpios:
    maxItems: 1
    description:
      Reference to the GPIO connected to the RESET_N pin, if any.
      Must be released (set high) after all supplies are applied.

  vddcore-supply:
    description:
      1.2V supply for core, PLL, MIPI rx and MIPI tx.

  vhtermrx-supply:
    description:
      Supply for input (RX). 1.8V for MIPI, or 1.8/2.8/3.3V for parallel.

  vddtx-supply:
    description:
      Supply for output (TX). 1.8V for MIPI, or 1.8/2.8/3.3V for parallel.

  vddhost-supply:
    description:
      Supply for host interface. 1.8V, 2.8V, or 3.3V.

  vddcmos-supply:
    description:
      Supply for sensor interface. 1.8V, 2.8V, or 3.3V.

Annotation

Implementation Notes