Skip to content
Snippets Groups Projects
Commit 5d9ca430 authored by Tom Levens's avatar Tom Levens Committed by Guenter Roeck
Browse files

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: default avatarTom Levens <tom.levens@cern.ch>
Tested-By: default avatar <mike.looijmans@topic.nl>
[groeck: Fixed compiler warning]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 7de859fc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment