aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/max77693-private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mfd/max77693-private.h b/include/linux/mfd/max77693-private.h
index bf6077d3c43c..68263c5fa53c 100644
--- a/include/linux/mfd/max77693-private.h
+++ b/include/linux/mfd/max77693-private.h
@@ -198,8 +198,14 @@ struct max77693_dev {
198 struct regmap *regmap_muic; 198 struct regmap *regmap_muic;
199 struct regmap *regmap_haptic; 199 struct regmap *regmap_haptic;
200 200
201 struct irq_domain *irq_domain;
202
201 int irq; 203 int irq;
204 int irq_gpio;
202 bool wakeup; 205 bool wakeup;
206 struct mutex irqlock;
207 int irq_masks_cur[MAX77693_IRQ_GROUP_NR];
208 int irq_masks_cache[MAX77693_IRQ_GROUP_NR];
203}; 209};
204 210
205enum max77693_types { 211enum max77693_types {
@@ -214,4 +220,8 @@ extern int max77693_bulk_write(struct regmap *map, u8 reg, int count,
214 u8 *buf); 220 u8 *buf);
215extern int max77693_update_reg(struct regmap *map, u8 reg, u8 val, u8 mask); 221extern int max77693_update_reg(struct regmap *map, u8 reg, u8 val, u8 mask);
216 222
223extern int max77693_irq_init(struct max77693_dev *max77686);
224extern void max77693_irq_exit(struct max77693_dev *max77686);
225extern int max77693_irq_resume(struct max77693_dev *max77686);
226
217#endif /* __LINUX_MFD_MAX77693_PRIV_H */ 227#endif /* __LINUX_MFD_MAX77693_PRIV_H */