Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/potentiometer/microchip,mcp41010.yaml
26309 views
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
required:
29
- compatible
30
- reg
31
32
allOf:
33
- $ref: /schemas/spi/spi-peripheral-props.yaml#
34
35
unevaluatedProperties: false
36
37
examples:
38
- |
39
spi {
40
#address-cells = <1>;
41
#size-cells = <0>;
42
43
potentiometer@0 {
44
compatible = "microchip,mcp41010";
45
reg = <0>;
46
spi-max-frequency = <500000>;
47
};
48
};
49
...
50
51