Linux 4.19.133
[linux/fpc-iii.git] / drivers / mfd / intel_soc_pmic_core.h
blob90a1416d4dac8e29a10e27b889eeed950627e0f2
1 /*
2 * intel_soc_pmic_core.h - Intel SoC PMIC MFD 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_CORE_H__
20 #define __INTEL_SOC_PMIC_CORE_H__
22 struct intel_soc_pmic_config {
23 unsigned long irq_flags;
24 struct mfd_cell *cell_dev;
25 int n_cell_devs;
26 const struct regmap_config *regmap_config;
27 const struct regmap_irq_chip *irq_chip;
30 extern struct intel_soc_pmic_config intel_soc_pmic_config_byt_crc;
31 extern struct intel_soc_pmic_config intel_soc_pmic_config_cht_crc;
33 #endif /* __INTEL_SOC_PMIC_CORE_H__ */