Documentation/devicetree/bindings/iio/amplifiers/adi,ad8366.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/iio/amplifiers/adi,ad8366.yaml
Extension
.yaml
Size
2220 bytes
Lines
102
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/iio/amplifiers/adi,ad8366.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: AD8366 and similar Gain Amplifiers and Digital Attenuators

maintainers:
  - Michael Hennerich <michael.hennerich@analog.com>
  - Rodrigo Alencar <rodrigo.alencar@analog.com>

description:
  Digital Variable Gain Amplifiers (VGAs) and Digital Attenuators with
  SPI interface.

properties:
  compatible:
    enum:
      - adi,ad8366
      - adi,ada4961
      - adi,adl5240
      - adi,adrf5702
      - adi,adrf5703
      - adi,adrf5720
      - adi,adrf5730
      - adi,adrf5731
      - adi,hmc271a
      - adi,hmc792a
      - adi,hmc1018a
      - adi,hmc1019a
      - adi,hmc1119

  reg:
    maxItems: 1

  vcc-supply:
    description: Regulator that provides power to the device.

  reset-gpios:
    maxItems: 1

  enable-gpios:
    maxItems: 1
    description: Power-up or Serial Mode Enable GPIO.

required:
  - compatible
  - reg
  - vcc-supply

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#
  - if:
      not:
        properties:
          compatible:
            contains:
              const: adi,hmc271a
    then:
      properties:
        reset-gpios: false
  - if:
      not:
        properties:
          compatible:
            contains:
              anyOf:
                - const: adi,ad8366
                - const: adi,ada4961

Annotation

Implementation Notes