Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Intel SoC PMIC MFD Driver
0004  *
0005  * Copyright (C) 2012-2014 Intel Corporation. All rights reserved.
0006  *
0007  * Author: Yang, Bin <bin.yang@intel.com>
0008  * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
0009  */
0010 
0011 #ifndef __INTEL_SOC_PMIC_CORE_H__
0012 #define __INTEL_SOC_PMIC_CORE_H__
0013 
0014 struct intel_soc_pmic_config {
0015     unsigned long irq_flags;
0016     struct mfd_cell *cell_dev;
0017     int n_cell_devs;
0018     const struct regmap_config *regmap_config;
0019     const struct regmap_irq_chip *irq_chip;
0020 };
0021 
0022 extern struct intel_soc_pmic_config intel_soc_pmic_config_byt_crc;
0023 extern struct intel_soc_pmic_config intel_soc_pmic_config_cht_crc;
0024 
0025 #endif  /* __INTEL_SOC_PMIC_CORE_H__ */