Merge tag 'for-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux...
[sfrench/cifs-2.6.git] / include / linux / mfd / intel_soc_pmic.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Intel SoC PMIC Driver
4  *
5  * Copyright (C) 2012-2014 Intel Corporation. All rights reserved.
6  *
7  * Author: Yang, Bin <bin.yang@intel.com>
8  * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
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 #endif  /* __INTEL_SOC_PMIC_H__ */