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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp4531.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Microchip mcp4531 and similar potentiometers.
maintainers:
- Peter Rosin <peda@axentia.se>
description: |
Family of I2C digital potentiometer
Datasheets at:
* volatile https://ww1.microchip.com/downloads/en/DeviceDoc/22096b.pdf
* non-volatile https://ww1.microchip.com/downloads/en/DeviceDoc/22107B.pdf
Part numbers as follows: mcp4ABC-XXX where
A = 5 (1 wiper), 6 (2 wipers)
B = 3 (7-bit, volatile), 4 (7-bit, non-volatile),
5 (8-bit, volatile), 6 (8-bit, non-volatile),
C: 1 (potentiometer), 2 (rheostat)
XXX = 502 (5 kOhms), 103 (10 kOhms), 503 (50 kOhms), 104 (100 kOhms)
properties:
compatible:
enum:
# Ordering reflects part number + range, so 502 < 103 etc
- microchip,mcp4531-502
- microchip,mcp4531-103
- microchip,mcp4531-503
- microchip,mcp4531-104
- microchip,mcp4532-502
- microchip,mcp4532-103
- microchip,mcp4532-503
- microchip,mcp4532-104
- microchip,mcp4541-502
- microchip,mcp4541-103
- microchip,mcp4541-503
- microchip,mcp4541-104
- microchip,mcp4542-502
- microchip,mcp4542-103
- microchip,mcp4542-503
- microchip,mcp4542-104
- microchip,mcp4551-502
- microchip,mcp4551-103
- microchip,mcp4551-503
- microchip,mcp4551-104
- microchip,mcp4552-502
- microchip,mcp4552-103
- microchip,mcp4552-503
- microchip,mcp4552-104
- microchip,mcp4561-502
- microchip,mcp4561-103
- microchip,mcp4561-503
- microchip,mcp4561-104
- microchip,mcp4562-502
- microchip,mcp4562-103
- microchip,mcp4562-503
- microchip,mcp4562-104
- microchip,mcp4631-502
- microchip,mcp4631-103
- microchip,mcp4631-503
- microchip,mcp4631-104
- microchip,mcp4632-502
- microchip,mcp4632-103
- microchip,mcp4632-503
- microchip,mcp4632-104
- microchip,mcp4641-502
- microchip,mcp4641-103
- microchip,mcp4641-503
- microchip,mcp4641-104
- microchip,mcp4642-502
- microchip,mcp4642-103
- microchip,mcp4642-503
- microchip,mcp4642-104
- microchip,mcp4651-502
- microchip,mcp4651-103
- microchip,mcp4651-503
- microchip,mcp4651-104
- microchip,mcp4652-502
- microchip,mcp4652-103
- microchip,mcp4652-503
- microchip,mcp4652-104
- microchip,mcp4661-502
- microchip,mcp4661-103
- microchip,mcp4661-503
- microchip,mcp4661-104
- microchip,mcp4662-502
- microchip,mcp4662-103
- microchip,mcp4662-503
- microchip,mcp4662-104
reg:
maxItems: 1
"#io-channel-cells":
const: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
dpot: dpot@28 {
compatible = "microchip,mcp4651-104";
reg = <0x28>;
#io-channel-cells = <1>;
};
};
...
|