ltc2990.txt 962 B

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