]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/linux/regulator/mt6311.h
Merge branches 'pm-cpu', 'pm-cpuidle' and 'pm-domains'
[mirror_ubuntu-zesty-kernel.git] / include / linux / regulator / mt6311.h
1 /*
2 * Copyright (c) 2015 MediaTek Inc.
3 * Author: Henry Chen <henryc.chen@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_MT6311_H
16 #define __LINUX_REGULATOR_MT6311_H
17
18 #define MT6311_MAX_REGULATORS 2
19
20 enum {
21 MT6311_ID_VDVFS = 0,
22 MT6311_ID_VBIASN,
23 };
24
25 #define MT6311_E1_CID_CODE 0x10
26 #define MT6311_E2_CID_CODE 0x20
27 #define MT6311_E3_CID_CODE 0x30
28
29 #endif /* __LINUX_REGULATOR_MT6311_H */