xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/ltc2990.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1ltc2990: Linear Technology LTC2990 power monitor
2
3Required properties:
4- compatible: Must be "lltc,ltc2990"
5- reg: I2C slave address
6- lltc,meas-mode:
7	An array of two integers for configuring the chip measurement mode.
8
9	The first integer defines the bits 2..0 in the control register. In all
10	cases the internal temperature and supply voltage are measured. In
11	addition the following input measurements are enabled per mode:
12
13		0: V1, V2, TR2
14		1: V1-V2, TR2
15		2: V1-V2, V3, V4
16		3: TR1, V3, V4
17		4: TR1, V3-V4
18		5: TR1, TR2
19		6: V1-V2, V3-V4
20		7: V1, V2, V3, V4
21
22	The second integer defines the bits 4..3 in the control register. This
23	allows a subset of the measurements to be enabled:
24
25		0: Internal temperature and supply voltage only
26		1: TR1, V1 or V1-V2 only per mode
27		2: TR2, V3 or V3-V4 only per mode
28		3: All measurements per mode
29
30Example:
31
32ltc2990@4c {
33	compatible = "lltc,ltc2990";
34	reg = <0x4c>;
35	lltc,meas-mode = <7 3>;	/* V1, V2, V3, V4 */
36};
37