1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Intel SoC PMIC MFD 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_CORE_H__ 12 #define __INTEL_SOC_PMIC_CORE_H__ 13 14 struct intel_soc_pmic_config { 15 unsigned long irq_flags; 16 struct mfd_cell *cell_dev; 17 int n_cell_devs; 18 const struct regmap_config *regmap_config; 19 const struct regmap_irq_chip *irq_chip; 20 }; 21 22 extern struct intel_soc_pmic_config intel_soc_pmic_config_byt_crc; 23 extern struct intel_soc_pmic_config intel_soc_pmic_config_cht_crc; 24 25 #endif /* __INTEL_SOC_PMIC_CORE_H__ */ 26