Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml
Extension
.yaml
Size
1832 bytes
Lines
84
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/dac/maxim,ds4424.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim Integrated DS4402/DS4404 and DS4422/DS4424 Current DACs

maintainers:
  - Ismail Kose <ihkose@gmail.com>

description: |
  Datasheets publicly available at:
  https://datasheets.maximintegrated.com/en/ds/DS4402-DS4404.pdf
  https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf

properties:
  compatible:
    enum:
      - maxim,ds4402
      - maxim,ds4404
      - maxim,ds4422
      - maxim,ds4424

  reg:
    maxItems: 1

  vcc-supply: true

  maxim,rfs-ohms:
    description: |
      Array of resistance values in Ohms for the external Rfs resistors
      connected to the FS pins. These values determine the full-scale
      output current. The actual resistance depends on the chip variant
      and specific hardware design requirements.
    minItems: 2
    maxItems: 4

required:
  - compatible
  - reg
  - maxim,rfs-ohms

allOf:
  - if:
      properties:
        compatible:
          contains:
            enum:
              - maxim,ds4402
              - maxim,ds4422
    then:
      properties:
        maxim,rfs-ohms:
          maxItems: 2
  - if:
      properties:
        compatible:
          contains:
            enum:
              - maxim,ds4404
              - maxim,ds4424
    then:
      properties:
        maxim,rfs-ohms:
          minItems: 4

additionalProperties: false

examples:

Annotation

Implementation Notes