GNU Linux-libre 4.19.286-gnu1
[releases.git] / include / linux / mfd / mt6323 / core.h
1 /*
2  * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #ifndef __MFD_MT6323_CORE_H__
10 #define __MFD_MT6323_CORE_H__
11
12 enum MT6323_IRQ_STATUS_numbers {
13         MT6323_IRQ_STATUS_SPKL_AB = 0,
14         MT6323_IRQ_STATUS_SPKL,
15         MT6323_IRQ_STATUS_BAT_L,
16         MT6323_IRQ_STATUS_BAT_H,
17         MT6323_IRQ_STATUS_WATCHDOG,
18         MT6323_IRQ_STATUS_PWRKEY,
19         MT6323_IRQ_STATUS_THR_L,
20         MT6323_IRQ_STATUS_THR_H,
21         MT6323_IRQ_STATUS_VBATON_UNDET,
22         MT6323_IRQ_STATUS_BVALID_DET,
23         MT6323_IRQ_STATUS_CHRDET,
24         MT6323_IRQ_STATUS_OV,
25         MT6323_IRQ_STATUS_LDO = 16,
26         MT6323_IRQ_STATUS_FCHRKEY,
27         MT6323_IRQ_STATUS_ACCDET,
28         MT6323_IRQ_STATUS_AUDIO,
29         MT6323_IRQ_STATUS_RTC,
30         MT6323_IRQ_STATUS_VPROC,
31         MT6323_IRQ_STATUS_VSYS,
32         MT6323_IRQ_STATUS_VPA,
33         MT6323_IRQ_STATUS_NR,
34 };
35
36 #endif /* __MFD_MT6323_CORE_H__ */