]>
git.ipfire.org Git - thirdparty/kernel/stable.git/blob - include/linux/mfd/intel_soc_pmic.h
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Intel SoC PMIC Driver
5 * Copyright (C) 2012-2014 Intel Corporation. All rights reserved.
7 * Author: Yang, Bin <bin.yang@intel.com>
8 * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
11 #ifndef __INTEL_SOC_PMIC_H__
12 #define __INTEL_SOC_PMIC_H__
14 #include <linux/regmap.h>
16 struct intel_soc_pmic
{
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
;
29 int intel_soc_pmic_exec_mipi_pmic_seq_element(u16 i2c_address
, u32 reg_address
,
32 #endif /* __INTEL_SOC_PMIC_H__ */