Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / regulator / mt6311.h
blob8473259395b692e631ade622bd86138c5e8a1bc2
1 /*
2 * Copyright (c) 2015 MediaTek Inc.
3 * Author: Henry Chen <henryc.chen@mediatek.com>
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.
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.
15 #ifndef __LINUX_REGULATOR_MT6311_H
16 #define __LINUX_REGULATOR_MT6311_H
18 #define MT6311_MAX_REGULATORS 2
20 enum {
21 MT6311_ID_VDVFS = 0,
22 MT6311_ID_VBIASN,
25 #define MT6311_E1_CID_CODE 0x10
26 #define MT6311_E2_CID_CODE 0x20
27 #define MT6311_E3_CID_CODE 0x30
29 #endif /* __LINUX_REGULATOR_MT6311_H */