26 Jan, 2015
3 commits
-
Add support for "ina231" as compatible string, and update
Documentation and Kconfig accordingly.Tested with the Exynos5422-based odroid-xu3 board which has on-board
INA231 sensors.Signed-off-by: Kevin Hilman
Signed-off-by: Guenter Roeck -
This attribute allows to configure the update interval of ina226. Although
the bus and shunt voltage conversion times remain hardcoded to 1.1 ms, we can
now modify said interval by changing the averaging rate.While we're at it - add an additional variable to ina2xx_data, which holds
the current configuration settings - this way we'll be able to restore the
configuration in case of an unexpected chip reset.Signed-off-by: Bartosz Golaszewski
Signed-off-by: Guenter Roeck -
The shunt resistance can only be set via platform_data or device tree. This
isn't suitable for devices in which the shunt resistance can change/isn't
known at boot-time.Add a sysfs attribute that allows to read and set the shunt resistance.
Signed-off-by: Bartosz Golaszewski
Signed-off-by: Guenter Roeck
28 Jun, 2013
1 commit
-
Adding another way that is device tree to pass the shunt resistor
value to driver except for platform data.Signed-off-by: Tang Yuantian
[Guenter Roeck: Added missing of.h include]
Signed-off-by: Guenter Roeck
24 Sep, 2012
1 commit
-
INA220 is register compatible to INA219, and INA230 is register compatible to
INA226, so all we need to do is to add name aliases for those two chips.Cc: Lothar Felten
Signed-off-by: Guenter Roeck
Reviewed-by: Jean Delvare
22 May, 2012
1 commit
-
Add support for the Texas Instruments INA219 and INA226 power monitors.
Signed-off-by: Lothar Felten
[guenter.roeck@ericsson.com: formatting cleanup; check for smbus word data;
select PGA=8 for INA219]
Signed-off-by: Guenter Roeck