Merge tag 'for-5.11/dm-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / potentiometer / microchip,mcp41010.yaml
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
7 title: Microchip MCP41010/41050/41100/42010/42050/42100 Digital Potentiometer
8
9 maintainers:
10   - Chris Coffey <cmc@babblebit.net>
11
12 description: |
13   Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf
14
15 properties:
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
30 additionalProperties: false
31
32 required:
33   - compatible
34   - reg
35
36 examples:
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 ...