hwmon: Add LTC2990 sensor driver

This adds support for the Linear Technology LTC2990  I2C System Monitor.
The LTC2990 supports a combination of voltage, current and temperature
monitoring. This driver currently only supports reading two currents
by measuring two differential voltages across series resistors, in
addition to the Vcc supply voltage and internal temperature.

This is sufficient to support the Topic Miami SOM which uses this chip
to monitor the currents flowing into the FPGA and the CPU parts.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Mike Looijmans
2016-01-15 10:54:59 +01:00
committed by Guenter Roeck
parent c32f5eff2d
commit df92270357
4 changed files with 219 additions and 0 deletions
+14
View File
@@ -685,6 +685,20 @@ config SENSORS_LTC2945
This driver can also be built as a module. If so, the module will
be called ltc2945.
config SENSORS_LTC2990
tristate "Linear Technology LTC2990 (current monitoring mode only)"
depends on I2C
help
If you say yes here you get support for Linear Technology LTC2990
I2C System Monitor. The LTC2990 supports a combination of voltage,
current and temperature monitoring, but in addition to the Vcc supply
voltage and chip temperature, this driver currently only supports
reading two currents by measuring two differential voltages across
series resistors.
This driver can also be built as a module. If so, the module will
be called ltc2990.
config SENSORS_LTC4151
tristate "Linear Technology LTC4151"
depends on I2C