summaryrefslogtreecommitdiff
path: root/include/linux/mfd/mt6323/core.h
blob: 06d0ec3b1f8fd49e27ba0c04c803e66b85ddc371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __MFD_MT6323_CORE_H__
#define __MFD_MT6323_CORE_H__

enum MT6323_IRQ_STATUS_numbers {
	MT6323_IRQ_STATUS_SPKL_AB = 0,
	MT6323_IRQ_STATUS_SPKL,
	MT6323_IRQ_STATUS_BAT_L,
	MT6323_IRQ_STATUS_BAT_H,
	MT6323_IRQ_STATUS_WATCHDOG,
	MT6323_IRQ_STATUS_PWRKEY,
	MT6323_IRQ_STATUS_THR_L,
	MT6323_IRQ_STATUS_THR_H,
	MT6323_IRQ_STATUS_VBATON_UNDET,
	MT6323_IRQ_STATUS_BVALID_DET,
	MT6323_IRQ_STATUS_CHRDET,
	MT6323_IRQ_STATUS_OV,
	MT6323_IRQ_STATUS_LDO = 16,
	MT6323_IRQ_STATUS_FCHRKEY,
	MT6323_IRQ_STATUS_ACCDET,
	MT6323_IRQ_STATUS_AUDIO,
	MT6323_IRQ_STATUS_RTC,
	MT6323_IRQ_STATUS_VPROC,
	MT6323_IRQ_STATUS_VSYS,
	MT6323_IRQ_STATUS_VPA,
	MT6323_IRQ_STATUS_NR,
};

#endif /* __MFD_MT6323_CORE_H__ */