WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / potentiometer / microchip,mcp41010.yaml
blob567697d996ec6ddb8b3cce917e75489d1b528fda
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#
7 title: Microchip MCP41010/41050/41100/42010/42050/42100 Digital Potentiometer
9 maintainers:
10   - Chris Coffey <cmc@babblebit.net>
12 description: |
13   Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf
15 properties:
16   compatible:
17     enum:
18       - microchip,mcp41010
19       - microchip,mcp41050
20       - microchip,mcp41100
21       - microchip,mcp42010
22       - microchip,mcp42050
23       - microchip,mcp42100
25   reg:
26     maxItems: 1
28   spi-max-frequency: true
30 additionalProperties: false
32 required:
33   - compatible
34   - reg
36 examples:
37   - |
38     spi {
39         #address-cells = <1>;
40         #size-cells = <0>;
42         potentiometer@0 {
43             compatible = "microchip,mcp41010";
44             reg = <0>;
45             spi-max-frequency = <500000>;
46         };
47     };
48 ...