diff options
author | Tom Levens <tom.levens@cern.ch> | 2017-07-03 06:29:00 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-05-21 16:52:01 +0200 |
commit | 5d9ca430ea3ae87e41a69333ca30533e9cdc17cf (patch) | |
tree | 475cd040bf02cbbabbee202b8a598905f8d7e55f /drivers/hwmon/Kconfig | |
parent | hwmon: (ltc2990) add devicetree binding (diff) | |
download | linux-5d9ca430ea3ae87e41a69333ca30533e9cdc17cf.tar.xz linux-5d9ca430ea3ae87e41a69333ca30533e9cdc17cf.zip |
hwmon: (ltc2990) support all measurement modes
Updated version of the ltc2990 driver which supports all measurement
modes (current, voltage, temperature) available in the chip.
If devicetree is used, the mode must be specified with the property
"lltc,meas-mode". The format and possible values of the property are
described in the binding.
If devicetree is not used, the mode of the chip will not be configured.
Unless the chip is configured by another source, only the internal
temperature and supply voltage will be measured.
Signed-off-by: Tom Levens <tom.levens@cern.ch>
Tested-By: mike.looijmans@topic.nl
[groeck: Fixed compiler warning]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 6ec307c93ece..f10840ad465c 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -717,15 +717,12 @@ config SENSORS_LTC2945 be called ltc2945. config SENSORS_LTC2990 - tristate "Linear Technology LTC2990 (current monitoring mode only)" + tristate "Linear Technology LTC2990" 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. + current and temperature monitoring. This driver can also be built as a module. If so, the module will be called ltc2990. |