2 * Copyright (C) 2015-2017 Dialog Semiconductor
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __MFD_DA9062_CORE_H__
16 #define __MFD_DA9062_CORE_H__
18 #include <linux/interrupt.h>
19 #include <linux/mfd/da9062/registers.h>
21 enum da9062_compatible_types
{
22 COMPAT_TYPE_DA9061
= 1,
70 struct regmap
*regmap
;
71 struct regmap_irq_chip_data
*regmap_irq
;
72 enum da9062_compatible_types chip_type
;
75 #endif /* __MFD_DA9062_CORE_H__ */