aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/pcf50633/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/pcf50633/core.h')
-rw-r--r--include/linux/mfd/pcf50633/core.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h
index bf107d3794e..4ee3f527172 100644
--- a/include/linux/mfd/pcf50633/core.h
+++ b/include/linux/mfd/pcf50633/core.h
@@ -34,6 +34,8 @@ struct pcf50633_platform_data {
char **batteries;
int num_batteries;
+ int good_main_battery_adc_threshold;
+
/* Callbacks */
void (*probe_done)(struct pcf50633 *);
void (*mbc_event_callback)(struct pcf50633 *, int);
@@ -78,6 +80,7 @@ int pcf50633_reg_clear_bits(struct pcf50633 *pcf, u8 reg, u8 bits);
#define PCF50633_REG_INT3M 0x09
#define PCF50633_REG_INT4M 0x0a
#define PCF50633_REG_INT5M 0x0b
+#define PCF50633_REG_OOSHDWN 0x0c
enum {
/* Chip IRQs */
@@ -122,8 +125,10 @@ enum {
PCF50633_IRQ_HCLDOPWRFAIL,
PCF50633_IRQ_HCLDOOVL,
- /* Always last */
+ /* Always last of real IRQs */
PCF50633_NUM_IRQ,
+ /* fake IRQ */
+ PCF50633_ABOUT_TO_INCREASE_POWER
};
struct pcf50633 {