root/include/linux/mfd/intel_soc_pmic.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 /*
   3  * Intel SoC PMIC 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_H__
  12 #define __INTEL_SOC_PMIC_H__
  13 
  14 #include <linux/regmap.h>
  15 
  16 struct intel_soc_pmic {
  17         int irq;
  18         struct regmap *regmap;
  19         struct regmap_irq_chip_data *irq_chip_data;
  20         struct regmap_irq_chip_data *irq_chip_data_pwrbtn;
  21         struct regmap_irq_chip_data *irq_chip_data_tmu;
  22         struct regmap_irq_chip_data *irq_chip_data_bcu;
  23         struct regmap_irq_chip_data *irq_chip_data_adc;
  24         struct regmap_irq_chip_data *irq_chip_data_chgr;
  25         struct regmap_irq_chip_data *irq_chip_data_crit;
  26         struct device *dev;
  27 };
  28 
  29 int intel_soc_pmic_exec_mipi_pmic_seq_element(u16 i2c_address, u32 reg_address,
  30                                               u32 value, u32 mask);
  31 
  32 #endif  /* __INTEL_SOC_PMIC_H__ */

/* [<][>][^][v][top][bottom][index][help] */