mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Felten, Lothar](/assets/img/avatar_default.png)
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>
19 lines
546 B
C
19 lines
546 B
C
/*
|
|
* Driver for Texas Instruments INA219, INA226 power monitor chips
|
|
*
|
|
* Copyright (C) 2012 Lothar Felten <l-felten@ti.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* For further information, see the Documentation/hwmon/ina2xx file.
|
|
*/
|
|
|
|
/**
|
|
* struct ina2xx_platform_data - ina2xx info
|
|
* @shunt_uohms shunt resistance in microohms
|
|
*/
|
|
struct ina2xx_platform_data {
|
|
long shunt_uohms;
|
|
};
|