1
2
3
4
5
6
7
8 #ifndef __LINUX_MFD_MAX77693_COMMON_H
9 #define __LINUX_MFD_MAX77693_COMMON_H
10
11 enum max77693_types {
12 TYPE_MAX77693_UNKNOWN,
13 TYPE_MAX77693,
14 TYPE_MAX77843,
15
16 TYPE_MAX77693_NUM,
17 };
18
19
20
21
22 struct max77693_dev {
23 struct device *dev;
24 struct i2c_client *i2c;
25 struct i2c_client *i2c_muic;
26 struct i2c_client *i2c_haptic;
27 struct i2c_client *i2c_chg;
28
29 enum max77693_types type;
30
31 struct regmap *regmap;
32 struct regmap *regmap_muic;
33 struct regmap *regmap_haptic;
34 struct regmap *regmap_chg;
35
36 struct regmap_irq_chip_data *irq_data_led;
37 struct regmap_irq_chip_data *irq_data_topsys;
38 struct regmap_irq_chip_data *irq_data_chg;
39 struct regmap_irq_chip_data *irq_data_muic;
40
41 int irq;
42 };
43
44
45 #endif