aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2020-06-09 07:57:20 -0700
committerGuenter Roeck <linux@roeck-us.net>2020-07-19 16:25:21 -0700
commita4872f7a4bc16d6ed831833b4f1ec16df642c367 (patch)
tree1924ae57a0f2203a39aae78430c971acd9d2b54e /include
parenthwmon: (adm1275) Enable adm1278 ADM1278_TEMP1_EN (diff)
downloadlinux-dev-a4872f7a4bc16d6ed831833b4f1ec16df642c367.tar.xz
linux-dev-a4872f7a4bc16d6ed831833b4f1ec16df642c367.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/gsc_hwmon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/platform_data/gsc_hwmon.h b/include/linux/platform_data/gsc_hwmon.h
index ec1611aff863..37a8f554da00 100644
--- a/include/linux/platform_data/gsc_hwmon.h
+++ b/include/linux/platform_data/gsc_hwmon.h
@@ -4,8 +4,9 @@
enum gsc_hwmon_mode {
mode_temperature,
- mode_voltage,
+ mode_voltage_24bit,
mode_voltage_raw,
+ mode_voltage_16bit,
mode_max,
};