hwmon: (gsc) add 16bit pre-scaled voltage mode
authorTim Harvey <tharvey@gateworks.com>
Tue, 9 Jun 2020 14:57:20 +0000 (07:57 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 19 Jul 2020 23:25:21 +0000 (16:25 -0700)
commita4872f7a4bc16d6ed831833b4f1ec16df642c367
tree1924ae57a0f2203a39aae78430c971acd9d2b54e
parenta37881dead2503614b837c005efde05e614d3b69
hwmon: (gsc) add 16bit pre-scaled voltage mode

add a 16-bit pre-scaled voltage mode to adc and clarify that existing
pre-scaled mode is 24bit.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1591714640-10332-3-git-send-email-tharvey@gateworks.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gsc-hwmon.c
include/linux/platform_data/gsc_hwmon.h