1
2
3
4
5
6
7
8
9
10
11 #ifndef __INTEL_SOC_PMIC_H__
12 #define __INTEL_SOC_PMIC_H__
13
14 #include <linux/regmap.h>
15
16 struct intel_soc_pmic {
17 int irq;
18 struct regmap *regmap;
19 struct regmap_irq_chip_data *irq_chip_data;
20 struct regmap_irq_chip_data *irq_chip_data_pwrbtn;
21 struct regmap_irq_chip_data *irq_chip_data_tmu;
22 struct regmap_irq_chip_data *irq_chip_data_bcu;
23 struct regmap_irq_chip_data *irq_chip_data_adc;
24 struct regmap_irq_chip_data *irq_chip_data_chgr;
25 struct regmap_irq_chip_data *irq_chip_data_crit;
26 struct device *dev;
27 };
28
29 int intel_soc_pmic_exec_mipi_pmic_seq_element(u16 i2c_address, u32 reg_address,
30 u32 value, u32 mask);
31
32 #endif