Zhu, Lejun | 5165238 | 2014-06-03 13:26:02 +0800 | [diff] [blame] | 1 | /* |
| 2 | * intel_soc_pmic.h - Intel SoC PMIC Driver |
| 3 | * |
| 4 | * Copyright (C) 2012-2014 Intel Corporation. All rights reserved. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License version |
| 8 | * 2 as published by the Free Software Foundation. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * Author: Yang, Bin <bin.yang@intel.com> |
| 16 | * Author: Zhu, Lejun <lejun.zhu@linux.intel.com> |
| 17 | */ |
| 18 | |
| 19 | #ifndef __INTEL_SOC_PMIC_H__ |
| 20 | #define __INTEL_SOC_PMIC_H__ |
| 21 | |
| 22 | #include <linux/regmap.h> |
| 23 | |
| 24 | struct intel_soc_pmic { |
| 25 | int irq; |
| 26 | struct regmap *regmap; |
| 27 | struct regmap_irq_chip_data *irq_chip_data; |
Qipeng Zha | 6bb3b3a | 2015-09-15 00:39:18 +0800 | [diff] [blame] | 28 | struct regmap_irq_chip_data *irq_chip_data_level2; |
| 29 | struct device *dev; |
Zhu, Lejun | 5165238 | 2014-06-03 13:26:02 +0800 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | #endif /* __INTEL_SOC_PMIC_H__ */ |