mfd: intel_soc_pmic: Add support for Broxton WC PMIC
authorQipeng Zha <qipeng.zha@intel.com>
Mon, 14 Sep 2015 16:39:18 +0000 (00:39 +0800)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:18:03 +0000 (17:18 +0000)
IRQ control registers of Intel Broxton Whisky Cove PMIC are
separated in two parts, so add secondary IRQ chip.
And the new member of device will be used in PMC IPC regmap APIs.

Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/intel_soc_pmic.h

index abcbfcf32d10a41dbea56068a328ad42a3f525a4..cf619dbeace285ee0ad2b9fc3b5e479604e42174 100644 (file)
@@ -25,6 +25,8 @@ struct intel_soc_pmic {
        int irq;
        struct regmap *regmap;
        struct regmap_irq_chip_data *irq_chip_data;
+       struct regmap_irq_chip_data *irq_chip_data_level2;
+       struct device *dev;
 };
 
 #endif /* __INTEL_SOC_PMIC_H__ */