intel_soc_pmic_core.h 676 B

12345678910111213141516171819202122232425
  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. #ifndef __INTEL_SOC_PMIC_CORE_H__
  11. #define __INTEL_SOC_PMIC_CORE_H__
  12. struct intel_soc_pmic_config {
  13. unsigned long irq_flags;
  14. struct mfd_cell *cell_dev;
  15. int n_cell_devs;
  16. const struct regmap_config *regmap_config;
  17. const struct regmap_irq_chip *irq_chip;
  18. };
  19. extern struct intel_soc_pmic_config intel_soc_pmic_config_byt_crc;
  20. extern struct intel_soc_pmic_config intel_soc_pmic_config_cht_crc;
  21. #endif /* __INTEL_SOC_PMIC_CORE_H__ */