Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / linux / regulator / mt6380-regulator.h
blob465182da6315fda0bdbf6930c3a56d79757656ae
1 /*
2 * Copyright (c) 2017 MediaTek Inc.
3 * Author: Chenglin Xu <chenglin.xu@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_mt6380_H
16 #define __LINUX_REGULATOR_mt6380_H
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,
30 #define MT6380_MAX_REGULATOR MT6380_ID_RG_MAX
32 #endif /* __LINUX_REGULATOR_mt6380_H */