diff options
author | Andrey Gusakov <andrey.gusakov@cogentembedded.com> | 2018-03-27 17:19:49 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-04-16 13:01:36 +0100 |
commit | ed645cccc0ebc0329916b6df039dd792d9105c9d (patch) | |
tree | 629d6d46412b03737502de902a93586421475889 /include/linux/mfd/mc13xxx.h | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | lwn-ed645cccc0ebc0329916b6df039dd792d9105c9d.tar.gz lwn-ed645cccc0ebc0329916b6df039dd792d9105c9d.zip |
hwmon: MC13783: Add uid and die temperature sensor inputs
The uid and die temperature can be read out on the ADIN7 using
input mux. Map uid and die temperature sensor to channels 16
and 17.
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/mc13xxx.h')
-rw-r--r-- | include/linux/mfd/mc13xxx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/mc13xxx.h b/include/linux/mfd/mc13xxx.h index 638222e43e48..54a3cd808f9e 100644 --- a/include/linux/mfd/mc13xxx.h +++ b/include/linux/mfd/mc13xxx.h @@ -243,6 +243,8 @@ struct mc13xxx_platform_data { #define MC13XXX_ADC0_LICELLCON (1 << 0) #define MC13XXX_ADC0_CHRGICON (1 << 1) #define MC13XXX_ADC0_BATICON (1 << 2) +#define MC13XXX_ADC0_ADIN7SEL_DIE (1 << 4) +#define MC13XXX_ADC0_ADIN7SEL_UID (2 << 4) #define MC13XXX_ADC0_ADREFEN (1 << 10) #define MC13XXX_ADC0_TSMOD0 (1 << 12) #define MC13XXX_ADC0_TSMOD1 (1 << 13) |