]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (ltc2990) support all measurement modes
authorTom Levens <tom.levens@cern.ch>
Mon, 3 Jul 2017 04:29:00 +0000 (06:29 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 21 May 2018 14:52:01 +0000 (07:52 -0700)
commit5d9ca430ea3ae87e41a69333ca30533e9cdc17cf
tree475cd040bf02cbbabbee202b8a598905f8d7e55f
parent7de859fcf92c8990902faea594d0128c541d14f6
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>
Documentation/hwmon/ltc2990
drivers/hwmon/Kconfig
drivers/hwmon/ltc2990.c