aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJorge Eduardo Candelaria <jedu@slimlogic.co.uk>2011-05-16 19:35:48 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-05-27 05:49:29 -0400
commit6851ad3ab3461966adfffe8789372fe8256da792 (patch)
treed9424225f0f26e9e7cc9326810319180cbc7cb6e /include
parent11ad14f86a7847b084d3e3f114180be39b1c7322 (diff)
TPS65911: Comparator: Add comparator driver
This driver adds functionality to the tps65911 chip driver. Two of the comparators are configurable by software and measures VCCS voltage to detect high or low voltage scenarios. Signed-off-by: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/tps65910.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index 5f770064e0c5..8bb85b930c07 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -121,6 +121,8 @@
121#define TPS65911_LDO6 0x35 121#define TPS65911_LDO6 0x35
122#define TPS65911_LDO4 0x36 122#define TPS65911_LDO4 0x36
123#define TPS65911_LDO3 0x37 123#define TPS65911_LDO3 0x37
124#define TPS65911_VMBCH 0x6A
125#define TPS65911_VMBCH2 0x6B
124 126
125/* 127/*
126 * List of register bitfields for component TPS65910 128 * List of register bitfields for component TPS65910
@@ -746,6 +748,8 @@ struct tps65910_board {
746 int gpio_base; 748 int gpio_base;
747 int irq; 749 int irq;
748 int irq_base; 750 int irq_base;
751 int vmbch_threshold;
752 int vmbch2_threshold;
749 struct regulator_init_data *tps65910_pmic_init_data; 753 struct regulator_init_data *tps65910_pmic_init_data;
750}; 754};
751 755