Documentation/devicetree/bindings/iio/adc/gehc,pmc-adc.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/iio/adc/gehc,pmc-adc.yaml
Extension
.yaml
Size
1890 bytes
Lines
87
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/gehc,pmc-adc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: GE HealthCare PMC Analog to Digital Converter (ADC)

maintainers:
  - Herve Codina <herve.codina@bootlin.com>

description:
  The GE HealthCare PMC ADC is a 16-Channel (voltage and current), 16-Bit ADC
  with an I2C Interface.

properties:
  compatible:
    const: gehc,pmc-adc

  reg:
    maxItems: 1

  vdd-supply:
    description:
      Regulator for the VDD power supply.

  vdda-supply:
    description:
      Regulator for the VDD analog (VDDA) power supply.

  vddio-supply:
    description:
      Regulator for the VDD IO (VDDIO) power supply.

  vref-supply:
    description:
      Regulator for the voltage reference power supply.

  clocks:
    maxItems: 1
    description:
      The component uses an external oscillator (osc) if an external oscillator
      is connected to its clock pins. Otherwise, it uses an internal reference
      clock.

  clock-names:
    items:
      - const: osc

  "#io-channel-cells":
    const: 2
    description: |
      The first cell is the channel type (dt-bindings/iio/adc/gehc,pmc-adc.h
      defines these values):
       - 0: voltage
       - 1: current
      The second cell is the channel number from 0 to 15.

required:
  - compatible
  - reg
  - vdd-supply
  - vdda-supply
  - vddio-supply
  - vref-supply
  - '#io-channel-cells'

additionalProperties: false

examples:

Annotation

Implementation Notes