diff options
author | Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> | 2011-05-16 18:35:48 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 10:49:29 +0100 |
commit | 6851ad3ab3461966adfffe8789372fe8256da792 (patch) | |
tree | d9424225f0f26e9e7cc9326810319180cbc7cb6e /include | |
parent | 11ad14f86a7847b084d3e3f114180be39b1c7322 (diff) | |
download | linux-6851ad3ab3461966adfffe8789372fe8256da792.tar.bz2 |
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.h | 4 |
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 @@ #define TPS65911_LDO6 0x35 #define TPS65911_LDO4 0x36 #define TPS65911_LDO3 0x37 +#define TPS65911_VMBCH 0x6A +#define TPS65911_VMBCH2 0x6B /* * List of register bitfields for component TPS65910 @@ -746,6 +748,8 @@ struct tps65910_board { int gpio_base; int irq; int irq_base; + int vmbch_threshold; + int vmbch2_threshold; struct regulator_init_data *tps65910_pmic_init_data; }; |