-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Felten, Lothar
authored and
Guenter Roeck
committed
May 22, 2012
1 parent
9172b5d
commit f7c2fe3
Showing
5 changed files
with
430 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.