2 * intel_soc_pmic.h - Intel SoC PMIC Driver
4 * Copyright (C) 2012-2014 Intel Corporation. All rights reserved.
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.
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.
15 * Author: Yang, Bin <bin.yang@intel.com>
16 * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
19 #ifndef __INTEL_SOC_PMIC_H__
20 #define __INTEL_SOC_PMIC_H__
22 #include <linux/regmap.h>
24 struct intel_soc_pmic
{
26 struct regmap
*regmap
;
27 struct regmap_irq_chip_data
*irq_chip_data
;
28 struct regmap_irq_chip_data
*irq_chip_data_tmu
;
29 struct regmap_irq_chip_data
*irq_chip_data_bcu
;
30 struct regmap_irq_chip_data
*irq_chip_data_adc
;
31 struct regmap_irq_chip_data
*irq_chip_data_chgr
;
32 struct regmap_irq_chip_data
*irq_chip_data_crit
;
36 #endif /* __INTEL_SOC_PMIC_H__ */