mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:36:42 +07:00
f7c2fe386a
Add support for the Texas Instruments INA219 and INA226 power monitors. Signed-off-by: Lothar Felten <l-felten@ti.com> [guenter.roeck@ericsson.com: formatting cleanup; check for smbus word data; select PGA=8 for INA219] Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
30 lines
882 B
Plaintext
30 lines
882 B
Plaintext
Kernel driver ina2xx
|
|
====================
|
|
|
|
Supported chips:
|
|
* Texas Instruments INA219
|
|
Prefix: 'ina219'
|
|
Addresses: I2C 0x40 - 0x4f
|
|
Datasheet: Publicly available at the Texas Instruments website
|
|
http://www.ti.com/
|
|
|
|
* Texas Instruments INA226
|
|
Prefix: 'ina226'
|
|
Addresses: I2C 0x40 - 0x4f
|
|
Datasheet: Publicly available at the Texas Instruments website
|
|
http://www.ti.com/
|
|
|
|
Author: Lothar Felten <l-felten@ti.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
The INA219 is a high-side current shunt and power monitor with an I2C
|
|
interface. The INA219 monitors both shunt drop and supply voltage, with
|
|
programmable conversion times and filtering.
|
|
|
|
The INA226 is a current shunt and power monitor with an I2C interface.
|
|
The INA226 monitors both a shunt voltage drop and bus supply voltage.
|
|
|
|
The shunt value in micro-ohms can be set via platform data.
|