summaryrefslogtreecommitdiff
path: root/include/linux/regulator/mt6357-regulator.h
blob: 238b1ee77ea6d60e72c8861711438216b6bfc057 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2022 MediaTek Inc.
 */

#ifndef __LINUX_REGULATOR_MT6357_H
#define __LINUX_REGULATOR_MT6357_H

enum {
	/* Bucks */
	MT6357_ID_VCORE,
	MT6357_ID_VMODEM,
	MT6357_ID_VPA,
	MT6357_ID_VPROC,
	MT6357_ID_VS1,

	/* LDOs */
	MT6357_ID_VAUX18,
	MT6357_ID_VAUD28,
	MT6357_ID_VCAMA,
	MT6357_ID_VCAMD,
	MT6357_ID_VCAMIO,
	MT6357_ID_VCN18,
	MT6357_ID_VCN28,
	MT6357_ID_VCN33_BT,
	MT6357_ID_VCN33_WIFI,
	MT6357_ID_VDRAM,
	MT6357_ID_VEFUSE,
	MT6357_ID_VEMC,
	MT6357_ID_VFE28,
	MT6357_ID_VIBR,
	MT6357_ID_VIO18,
	MT6357_ID_VIO28,
	MT6357_ID_VLDO28,
	MT6357_ID_VMC,
	MT6357_ID_VMCH,
	MT6357_ID_VRF12,
	MT6357_ID_VRF18,
	MT6357_ID_VSIM1,
	MT6357_ID_VSIM2,
	MT6357_ID_VSRAM_OTHERS,
	MT6357_ID_VSRAM_PROC,
	MT6357_ID_VUSB33,
	MT6357_ID_VXO22,

	MT6357_ID_RG_MAX,
};

#define MT6357_MAX_REGULATOR	MT6357_ID_RG_MAX

#endif /* __LINUX_REGULATOR_MT6357_H */