GNU Linux-libre 4.14.290-gnu1
[releases.git] / include / linux / regulator / mt6323-regulator.h
1 /*
2  * Copyright (c) 2016 MediaTek Inc.
3  * Author: Chen Zhong <chen.zhong@mediatek.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
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.
13  */
14
15 #ifndef __LINUX_REGULATOR_MT6323_H
16 #define __LINUX_REGULATOR_MT6323_H
17
18 enum {
19         MT6323_ID_VPROC = 0,
20         MT6323_ID_VSYS,
21         MT6323_ID_VPA,
22         MT6323_ID_VTCXO,
23         MT6323_ID_VCN28,
24         MT6323_ID_VCN33_BT,
25         MT6323_ID_VCN33_WIFI,
26         MT6323_ID_VA,
27         MT6323_ID_VCAMA,
28         MT6323_ID_VIO28 = 9,
29         MT6323_ID_VUSB,
30         MT6323_ID_VMC,
31         MT6323_ID_VMCH,
32         MT6323_ID_VEMC3V3,
33         MT6323_ID_VGP1,
34         MT6323_ID_VGP2,
35         MT6323_ID_VGP3,
36         MT6323_ID_VCN18,
37         MT6323_ID_VSIM1,
38         MT6323_ID_VSIM2,
39         MT6323_ID_VRTC,
40         MT6323_ID_VCAMAF,
41         MT6323_ID_VIBR,
42         MT6323_ID_VRF18,
43         MT6323_ID_VM,
44         MT6323_ID_VIO18,
45         MT6323_ID_VCAMD,
46         MT6323_ID_VCAMIO,
47         MT6323_ID_RG_MAX,
48 };
49
50 #define MT6323_MAX_REGULATOR    MT6323_ID_RG_MAX
51
52 #endif /* __LINUX_REGULATOR_MT6323_H */