summaryrefslogtreecommitdiff
path: root/include/linux/mfd/da9052/da9052.h
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-08-21 17:54:01 +0300
committerLee Jones <lee.jones@linaro.org>2017-08-22 10:44:37 +0300
commit67dfabe3a01be6b0cc4c0056aa546f0279ed6279 (patch)
treebe41ae10620c5a27b6b384dcd25854e0b4617ab8 /include/linux/mfd/da9052/da9052.h
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-67dfabe3a01be6b0cc4c0056aa546f0279ed6279.tar.xz
mfd: da9052: Add register details for TSI
Add register details an channels definition for using the TSI registers in the hwmon driver. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/da9052/da9052.h')
-rw-r--r--include/linux/mfd/da9052/da9052.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/da9052/da9052.h b/include/linux/mfd/da9052/da9052.h
index ce9230af09c2..ae5b663836d0 100644
--- a/include/linux/mfd/da9052/da9052.h
+++ b/include/linux/mfd/da9052/da9052.h
@@ -45,6 +45,12 @@
#define DA9052_ADC_TJUNC 8
#define DA9052_ADC_VBBAT 9
+/* TSI channel has its own 4 channel mux */
+#define DA9052_ADC_TSI_XP 70
+#define DA9052_ADC_TSI_XN 71
+#define DA9052_ADC_TSI_YP 72
+#define DA9052_ADC_TSI_YN 73
+
#define DA9052_IRQ_DCIN 0
#define DA9052_IRQ_VBUS 1
#define DA9052_IRQ_DCINREM 2