1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2015 MediaTek Inc.
4  * Author: Henry Chen <henryc.chen@mediatek.com>
5  */
6 
7 #ifndef __LINUX_REGULATOR_MT6311_H
8 #define __LINUX_REGULATOR_MT6311_H
9 
10 #define MT6311_MAX_REGULATORS	2
11 
12 enum {
13 	MT6311_ID_VDVFS = 0,
14 	MT6311_ID_VBIASN,
15 };
16 
17 #define MT6311_E1_CID_CODE    0x10
18 #define MT6311_E2_CID_CODE    0x20
19 #define MT6311_E3_CID_CODE    0x30
20 
21 #endif /* __LINUX_REGULATOR_MT6311_H */
22