Commit | Line | Data |
---|---|---|
26c7e05a | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
51652384 | 2 | /* |
26c7e05a | 3 | * Intel SoC PMIC Driver |
51652384 ZL |
4 | * |
5 | * Copyright (C) 2012-2014 Intel Corporation. All rights reserved. | |
6 | * | |
51652384 ZL |
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; | |
9f8ddee1 | 20 | struct regmap_irq_chip_data *irq_chip_data_pwrbtn; |
957ae509 | 21 | struct regmap_irq_chip_data *irq_chip_data_tmu; |
57129044 KS |
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; | |
6bb3b3ac | 26 | struct device *dev; |
51652384 ZL |
27 | }; |
28 | ||
29 | #endif /* __INTEL_SOC_PMIC_H__ */ |