ina2xx 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Kernel driver ina2xx
  2. ====================
  3. Supported chips:
  4. * Texas Instruments INA219
  5. Prefix: 'ina219'
  6. Addresses: I2C 0x40 - 0x4f
  7. Datasheet: Publicly available at the Texas Instruments website
  8. http://www.ti.com/
  9. * Texas Instruments INA220
  10. Prefix: 'ina220'
  11. Addresses: I2C 0x40 - 0x4f
  12. Datasheet: Publicly available at the Texas Instruments website
  13. http://www.ti.com/
  14. * Texas Instruments INA226
  15. Prefix: 'ina226'
  16. Addresses: I2C 0x40 - 0x4f
  17. Datasheet: Publicly available at the Texas Instruments website
  18. http://www.ti.com/
  19. * Texas Instruments INA230
  20. Prefix: 'ina230'
  21. Addresses: I2C 0x40 - 0x4f
  22. Datasheet: Publicly available at the Texas Instruments website
  23. http://www.ti.com/
  24. * Texas Instruments INA231
  25. Prefix: 'ina231'
  26. Addresses: I2C 0x40 - 0x4f
  27. Datasheet: Publicly available at the Texas Instruments website
  28. http://www.ti.com/
  29. Author: Lothar Felten <lothar.felten@gmail.com>
  30. Description
  31. -----------
  32. The INA219 is a high-side current shunt and power monitor with an I2C
  33. interface. The INA219 monitors both shunt drop and supply voltage, with
  34. programmable conversion times and filtering.
  35. The INA220 is a high or low side current shunt and power monitor with an I2C
  36. interface. The INA220 monitors both shunt drop and supply voltage.
  37. The INA226 is a current shunt and power monitor with an I2C interface.
  38. The INA226 monitors both a shunt voltage drop and bus supply voltage.
  39. INA230 and INA231 are high or low side current shunt and power monitors
  40. with an I2C interface. The chips monitor both a shunt voltage drop and
  41. bus supply voltage.
  42. The shunt value in micro-ohms can be set via platform data or device tree at
  43. compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
  44. refer to the Documentation/devicetree/bindings/i2c/ina2xx.txt for bindings
  45. if the device tree is used.
  46. Additionally ina226 supports update_interval attribute as described in
  47. Documentation/hwmon/sysfs-interface. Internally the interval is the sum of
  48. bus and shunt voltage conversion times multiplied by the averaging rate. We
  49. don't touch the conversion times and only modify the number of averages. The
  50. lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
  51. The actual programmed interval may vary from the desired value.