Clemens Gruber | 10de07f | 2016-10-28 00:33:44 +0200 | [diff] [blame] | 1 | mcp3021 properties |
2 | |||||
3 | Required properties: | ||||
4 | - compatible: Must be one of the following: | ||||
5 | - "microchip,mcp3021" for mcp3021 | ||||
6 | - "microchip,mcp3221" for mcp3221 | ||||
7 | - reg: I2C address | ||||
8 | |||||
9 | Optional properties: | ||||
10 | |||||
11 | - reference-voltage-microvolt | ||||
12 | Reference voltage in microvolt (uV) | ||||
13 | |||||
14 | Example: | ||||
15 | |||||
16 | mcp3021@4d { | ||||
17 | compatible = "microchip,mcp3021"; | ||||
18 | reg = <0x4d>; | ||||
19 | |||||
20 | reference-voltage-microvolt = <4500000>; /* 4.5 V */ | ||||
21 | }; |