rk3188:pmu_rt5025:updata rt5025 drivers,modify some bug
[firefly-linux-kernel-4.4.55.git] / include / linux / mfd / rt5025-irq.h
1 /*
2  *  include/linux/mfd/rt5025-irq.h
3  *  Include header file for Richtek RT5025 PMIC IRQ file
4  *
5  *  Copyright (C) 2013 Richtek Electronics
6  *  cy_huang <cy_huang@richtek.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11  */
12
13 #ifndef __LINUX_RT5025_IRQ_H
14 #define __LINUX_RT5025_IRQ_H
15
16 #define RT5025_REG_CHGSTAT      0x01
17
18 #define RT5025_REG_IRQEN1       0x30
19 #define RT5025_REG_IRQSTATUS1   0x31
20 #define RT5025_REG_IRQEN2       0x32
21 #define RT5025_REG_IRQSTATUS2   0x33
22 #define RT5025_REG_IRQEN3       0x34
23 #define RT5025_REG_IRQSTATUS3   0x35
24 #define RT5025_REG_IRQEN4       0x36
25 #define RT5025_REG_IRQSTATUS4   0x37
26 #define RT5025_REG_IRQEN5       0x38
27 #define RT5025_REG_IRQSTATUS5   0x39
28
29 #define RT5025_REG_GAUGEIRQFLG  0x51
30 #define RT5025_FLG_TEMP         0x30
31 #define RT5025_FLG_VOLT         0x07
32
33 #endif /* #ifndef __LINUX_RT5025_IRQ_H */