Documentation/devicetree/bindings/iio/adc/ti,ads7924.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/iio/adc/ti,ads7924.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/iio/adc/ti,ads7924.yaml
Extension
.yaml
Size
2266 bytes
Lines
111
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/ti,ads7924.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI ADS7924 4 channels 12 bits I2C analog to digital converter

maintainers:
  - Hugo Villeneuve <hvilleneuve@dimonoff.com>

description: |
  Texas Instruments ADS7924 4 channels 12 bits I2C analog to digital converter

  Specifications:
    https://www.ti.com/lit/gpn/ads7924

properties:
  compatible:
    const: ti,ads7924

  reg:
    maxItems: 1

  vref-supply:
    description:
      The regulator supply for the ADC reference voltage (AVDD)

  reset-gpios:
    maxItems: 1

  interrupts:
    maxItems: 1

  "#address-cells":
    const: 1

  "#size-cells":
    const: 0

  "#io-channel-cells":
    const: 1

patternProperties:
  "^channel@[0-3]+$":
    $ref: adc.yaml

    description: |
      Represents the external channels which are connected to the ADC.

    properties:
      reg:
        description: |
          The channel number. It can have up to 4 channels numbered from 0 to 3.
        items:
          - minimum: 0
            maximum: 3

      label: true

    required:
      - reg

    additionalProperties: false

additionalProperties: false

required:
  - compatible
  - reg

Annotation

Implementation Notes