Documentation/devicetree/bindings/iio/adc/microchip,mcp3564.yaml

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

File Facts

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

title: Microchip MCP346X and MCP356X ADC Family

maintainers:
  - Marius Cristea <marius.cristea@microchip.com>

description: |
  Bindings for the Microchip family of 153.6 ksps, Low-Noise 16/24-Bit
  Delta-Sigma ADCs with an SPI interface. Datasheet can be found here:
  Datasheet for MCP3561, MCP3562, MCP3564 can be found here:
    https://ww1.microchip.com/downloads/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/MCP3561-2-4-Family-Data-Sheet-DS20006181C.pdf
  Datasheet for MCP3561R, MCP3562R, MCP3564R can be found here:
    https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3561_2_4R-Data-Sheet-DS200006391C.pdf
  Datasheet for MCP3461, MCP3462, MCP3464 can be found here:
    https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4-Two-Four-Eight-Channel-153.6-ksps-Low-Noise-16-Bit-Delta-Sigma-ADC-Data-Sheet-20006180D.pdf
  Datasheet for MCP3461R, MCP3462R, MCP3464R can be found here:
    https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4R-Family-Data-Sheet-DS20006404C.pdf

properties:
  compatible:
    enum:
      - microchip,mcp3461
      - microchip,mcp3462
      - microchip,mcp3464
      - microchip,mcp3461r
      - microchip,mcp3462r
      - microchip,mcp3464r
      - microchip,mcp3561
      - microchip,mcp3562
      - microchip,mcp3564
      - microchip,mcp3561r
      - microchip,mcp3562r
      - microchip,mcp3564r

  reg:
    maxItems: 1

  spi-max-frequency:
    maximum: 20000000

  spi-cpha: true

  spi-cpol: true

  vdd-supply: true

  avdd-supply: true

  clocks:
    description:
      Phandle and clock identifier for external sampling clock.
      If not specified, the internal crystal oscillator will be used.
    maxItems: 1

  interrupts:
    description: IRQ line of the ADC
    maxItems: 1

  drive-open-drain:
    description:
      Whether to drive the IRQ signal as push-pull (default) or open-drain. Note
      that the device requires this pin to become "high", otherwise it will stop
      converting.
    type: boolean

Annotation

Implementation Notes