Documentation / devicetree / bindings / iio / dac / microchip,mcp47a1.yaml


Based on kernel version 7.3. Page generated on 2026-10-19 13:17 EDT.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---

$id: http://devicetree.org/schemas/iio/dac/microchip,mcp47a1.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip MCP47A1 DAC

maintainers:
  - Joshua Crofts <joshua.crofts1@gmail.com>

description: |
  The Microchip MCP47A1 is a 6-bit single output volatile DAC.
  This device can have different IDs (0x2e and 0x3e).
  https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/25154A.pdf

properties:
  compatible:
    const: microchip,mcp47a1

  reg:
    items:
      - enum: [0x2e, 0x3e]

  vref-supply: true

  vdd-supply: true

required:
  - compatible
  - reg
  - vref-supply
  - vdd-supply

additionalProperties: false

examples:
  - |
    i2c {
          #address-cells = <1>;
          #size-cells = <0>;
 
          dac@2e {
              compatible = "microchip,mcp47a1";
              reg = <0x2e>;
              vref-supply = <&vref_regulator>;
              vdd-supply = <&vdd_regulator>;
          };
    };