mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Tang Yuantian](/assets/img/avatar_default.png)
Adding another way that is device tree to pass the shunt resistor value to driver except for platform data. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> [Guenter Roeck: Added missing of.h include] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
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 INA220
|
|
Prefix: 'ina220'
|
|
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/
|
|
|
|
* Texas Instruments INA230
|
|
Prefix: 'ina230'
|
|
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 INA220 is a high or low side current shunt and power monitor with an I2C
|
|
interface. The INA220 monitors both shunt drop and supply voltage.
|
|
|
|
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 INA230 is a high or low side current shunt and power monitor with an I2C
|
|
interface. The INA230 monitors both a shunt voltage drop and bus supply voltage.
|
|
|
|
The shunt value in micro-ohms can be set via platform data or device tree.
|
|
Please refer to the Documentation/devicetree/bindings/i2c/ina2xx.txt for bindings
|
|
if the device tree is used.
|