summaryrefslogtreecommitdiff
path: root/include/linux/regulator/mt6380-regulator.h
blob: 465182da6315fda0bdbf6930c3a56d79757656ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright (c) 2017 MediaTek Inc.
 * Author: Chenglin Xu <chenglin.xu@mediatek.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __LINUX_REGULATOR_mt6380_H
#define __LINUX_REGULATOR_mt6380_H

enum {
	MT6380_ID_VCPU = 0,
	MT6380_ID_VCORE,
	MT6380_ID_VRF,
	MT6380_ID_VMLDO,
	MT6380_ID_VALDO,
	MT6380_ID_VPHYLDO,
	MT6380_ID_VDDRLDO,
	MT6380_ID_VTLDO,
	MT6380_ID_RG_MAX,
};

#define MT6380_MAX_REGULATOR	MT6380_ID_RG_MAX

#endif /* __LINUX_REGULATOR_mt6380_H */