Documentation/devicetree/bindings/iio/adc/adi,ad7191.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/iio/adc/adi,ad7191.yaml
Extension
.yaml
Size
3662 bytes
Lines
150
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)
# Copyright 2025 Analog Devices Inc.
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/adi,ad7191.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices AD7191 ADC

maintainers:
  - Alisa-Dariana Roman <alisa.roman@analog.com>

description: |
  Bindings for the Analog Devices AD7191 ADC device. Datasheet can be
  found here:
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7191.pdf
  The device's PDOWN pin must be connected to the SPI controller's chip select
  pin.

properties:
  compatible:
    enum:
      - adi,ad7191

  reg:
    maxItems: 1

  spi-cpol: true

  spi-cpha: true

  clocks:
    maxItems: 1
    description:
      Must be present when CLKSEL pin is tied HIGH to select external clock
      source (either a crystal between MCLK1 and MCLK2 pins, or a
      CMOS-compatible clock driving MCLK2 pin). Must be absent when CLKSEL pin
      is tied LOW to use the internal 4.92MHz clock.

  interrupts:
    maxItems: 1

  avdd-supply:
    description: AVdd voltage supply

  dvdd-supply:
    description: DVdd voltage supply

  vref-supply:
    description: Vref voltage supply

  odr-gpios:
    description:
      ODR1 and ODR2 pins for output data rate selection. Should be defined if
      adi,odr-value is absent.
    minItems: 2
    maxItems: 2

  adi,odr-value:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: |
      Should be present if ODR pins are pin-strapped. Possible values:
      120 Hz (ODR1=0, ODR2=0)
      60 Hz (ODR1=0, ODR2=1)
      50 Hz (ODR1=1, ODR2=0)
      10 Hz (ODR1=1, ODR2=1)
      If defined, odr-gpios must be absent.
    enum: [120, 60, 50, 10]

  pga-gpios:

Annotation

Implementation Notes