xref: /linux/Documentation/devicetree/bindings/iio/potentiometer/microchip,mcp41010.yaml (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp41010.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip MCP41010/41050/41100/42010/42050/42100 Digital Potentiometer
8
9maintainers:
10  - Chris Coffey <cmc@babblebit.net>
11
12description: |
13  Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf
14
15properties:
16  compatible:
17    enum:
18      - microchip,mcp41010
19      - microchip,mcp41050
20      - microchip,mcp41100
21      - microchip,mcp42010
22      - microchip,mcp42050
23      - microchip,mcp42100
24
25  reg:
26    maxItems: 1
27
28  spi-max-frequency: true
29
30additionalProperties: false
31
32required:
33  - compatible
34  - reg
35
36examples:
37  - |
38    spi {
39        #address-cells = <1>;
40        #size-cells = <0>;
41
42        potentiometer@0 {
43            compatible = "microchip,mcp41010";
44            reg = <0>;
45            spi-max-frequency = <500000>;
46        };
47    };
48...
49