aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator/max8907c-regulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/regulator/max8907c-regulator.h')
-rw-r--r--include/linux/regulator/max8907c-regulator.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/include/linux/regulator/max8907c-regulator.h b/include/linux/regulator/max8907c-regulator.h
new file mode 100644
index 00000000000..ddc5f0a6033
--- /dev/null
+++ b/include/linux/regulator/max8907c-regulator.h
@@ -0,0 +1,46 @@
1/* linux/regulator/max8907c-regulator.h
2 *
3 * Functions to access MAX8907C power management chip.
4 *
5 * Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12#ifndef __LINUX_REGULATOR_MAX8907C_H
13#define __LINUX_REGULATOR_MAX8907C_H
14
15/* IDs */
16#define MAX8907C_SD1 0
17#define MAX8907C_SD2 1
18#define MAX8907C_SD3 2
19#define MAX8907C_LDO1 3
20#define MAX8907C_LDO2 4
21#define MAX8907C_LDO3 5
22#define MAX8907C_LDO4 6
23#define MAX8907C_LDO5 7
24#define MAX8907C_LDO6 8
25#define MAX8907C_LDO7 9
26#define MAX8907C_LDO8 10
27#define MAX8907C_LDO9 11
28#define MAX8907C_LDO10 12
29#define MAX8907C_LDO11 13
30#define MAX8907C_LDO12 14
31#define MAX8907C_LDO13 15
32#define MAX8907C_LDO14 16
33#define MAX8907C_LDO15 17
34#define MAX8907C_LDO16 18
35#define MAX8907C_LDO17 19
36#define MAX8907C_LDO18 20
37#define MAX8907C_LDO19 21
38#define MAX8907C_LDO20 22
39#define MAX8907C_OUT5V 23
40#define MAX8907C_OUT33V 24
41#define MAX8907C_BBAT 25
42#define MAX8907C_SDBY 26
43#define MAX8907C_VRTC 27
44#define MAX8907C_WLED 27
45
46#endif