summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwmon/mcp3021.txt
blob: 294318ba69145405e7f9ecb363f61ff865845787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mcp3021 properties

Required properties:
- compatible: Must be one of the following:
	- "microchip,mcp3021" for mcp3021
	- "microchip,mcp3221" for mcp3221
- reg: I2C address

Optional properties:

- reference-voltage-microvolt
	Reference voltage in microvolt (uV)

Example:

mcp3021@4d {
	compatible = "microchip,mcp3021";
	reg = <0x4d>;

	reference-voltage-microvolt = <4500000>; /* 4.5 V */
};