]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/regulator/mt6380-regulator.h
compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
[mirror_ubuntu-bionic-kernel.git] / include / linux / regulator / mt6380-regulator.h
1 /*
2 * Copyright (c) 2017 MediaTek Inc.
3 * Author: Chenglin Xu <chenglin.xu@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_mt6380_H
16 #define __LINUX_REGULATOR_mt6380_H
17
18 enum {
19 MT6380_ID_VCPU = 0,
20 MT6380_ID_VCORE,
21 MT6380_ID_VRF,
22 MT6380_ID_VMLDO,
23 MT6380_ID_VALDO,
24 MT6380_ID_VPHYLDO,
25 MT6380_ID_VDDRLDO,
26 MT6380_ID_VTLDO,
27 MT6380_ID_RG_MAX,
28 };
29
30 #define MT6380_MAX_REGULATOR MT6380_ID_RG_MAX
31
32 #endif /* __LINUX_REGULATOR_mt6380_H */