brintos

brintos / linux-shallow public Read only

0
0
Text · 962 B · f92f540 Raw
37 lines · plain
1ltc2990: Linear Technology LTC2990 power monitor2 3Required properties:4- compatible: Must be "lltc,ltc2990"5- reg: I2C slave address6- 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 all10	cases the internal temperature and supply voltage are measured. In11	addition the following input measurements are enabled per mode:12 13		0: V1, V2, TR214		1: V1-V2, TR215		2: V1-V2, V3, V416		3: TR1, V3, V417		4: TR1, V3-V418		5: TR1, TR219		6: V1-V2, V3-V420		7: V1, V2, V3, V421 22	The second integer defines the bits 4..3 in the control register. This23	allows a subset of the measurements to be enabled:24 25		0: Internal temperature and supply voltage only26		1: TR1, V1 or V1-V2 only per mode27		2: TR2, V3 or V3-V4 only per mode28		3: All measurements per mode29 30Example:31 32ltc2990@4c {33	compatible = "lltc,ltc2990";34	reg = <0x4c>;35	lltc,meas-mode = <7 3>;	/* V1, V2, V3, V4 */36};37