3 * Copyright (c) 2011 Samsung Electronics Co., Ltd
4 * http://www.samsung.com
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
13 #ifndef __LINUX_MFD_S5M8767_H
14 #define __LINUX_MFD_S5M8767_H
16 /* S5M8767 registers */
34 S5M8767_REG_DVSTIMER2
= 0x10,
35 S5M8767_REG_DVSTIMER3
,
36 S5M8767_REG_DVSTIMER4
,
50 S5M8767_REG_LDO14
= 0x20,
65 S5M8767_REG_UVLO
= 0x31,
66 S5M8767_REG_BUCK1CTRL1
,
67 S5M8767_REG_BUCK1CTRL2
,
68 S5M8767_REG_BUCK2CTRL
,
69 S5M8767_REG_BUCK2DVS1
,
70 S5M8767_REG_BUCK2DVS2
,
71 S5M8767_REG_BUCK2DVS3
,
72 S5M8767_REG_BUCK2DVS4
,
73 S5M8767_REG_BUCK2DVS5
,
74 S5M8767_REG_BUCK2DVS6
,
75 S5M8767_REG_BUCK2DVS7
,
76 S5M8767_REG_BUCK2DVS8
,
77 S5M8767_REG_BUCK3CTRL
,
78 S5M8767_REG_BUCK3DVS1
,
79 S5M8767_REG_BUCK3DVS2
,
80 S5M8767_REG_BUCK3DVS3
,
81 S5M8767_REG_BUCK3DVS4
,
82 S5M8767_REG_BUCK3DVS5
,
83 S5M8767_REG_BUCK3DVS6
,
84 S5M8767_REG_BUCK3DVS7
,
85 S5M8767_REG_BUCK3DVS8
,
86 S5M8767_REG_BUCK4CTRL
,
87 S5M8767_REG_BUCK4DVS1
,
88 S5M8767_REG_BUCK4DVS2
,
89 S5M8767_REG_BUCK4DVS3
,
90 S5M8767_REG_BUCK4DVS4
,
91 S5M8767_REG_BUCK4DVS5
,
92 S5M8767_REG_BUCK4DVS6
,
93 S5M8767_REG_BUCK4DVS7
,
94 S5M8767_REG_BUCK4DVS8
,
95 S5M8767_REG_BUCK5CTRL1
,
96 S5M8767_REG_BUCK5CTRL2
,
97 S5M8767_REG_BUCK5CTRL3
,
98 S5M8767_REG_BUCK5CTRL4
,
99 S5M8767_REG_BUCK5CTRL5
,
100 S5M8767_REG_BUCK6CTRL1
,
101 S5M8767_REG_BUCK6CTRL2
,
102 S5M8767_REG_BUCK7CTRL1
,
103 S5M8767_REG_BUCK7CTRL2
,
104 S5M8767_REG_BUCK8CTRL1
,
105 S5M8767_REG_BUCK8CTRL2
,
106 S5M8767_REG_BUCK9CTRL1
,
107 S5M8767_REG_BUCK9CTRL2
,
108 S5M8767_REG_LDO1CTRL
,
109 S5M8767_REG_LDO2_1CTRL
,
110 S5M8767_REG_LDO2_2CTRL
,
111 S5M8767_REG_LDO2_3CTRL
,
112 S5M8767_REG_LDO2_4CTRL
,
113 S5M8767_REG_LDO3CTRL
,
114 S5M8767_REG_LDO4CTRL
,
115 S5M8767_REG_LDO5CTRL
,
116 S5M8767_REG_LDO6CTRL
,
117 S5M8767_REG_LDO7CTRL
,
118 S5M8767_REG_LDO8CTRL
,
119 S5M8767_REG_LDO9CTRL
,
120 S5M8767_REG_LDO10CTRL
,
121 S5M8767_REG_LDO11CTRL
,
122 S5M8767_REG_LDO12CTRL
,
123 S5M8767_REG_LDO13CTRL
,
124 S5M8767_REG_LDO14CTRL
,
125 S5M8767_REG_LDO15CTRL
,
126 S5M8767_REG_LDO16CTRL
,
127 S5M8767_REG_LDO17CTRL
,
128 S5M8767_REG_LDO18CTRL
,
129 S5M8767_REG_LDO19CTRL
,
130 S5M8767_REG_LDO20CTRL
,
131 S5M8767_REG_LDO21CTRL
,
132 S5M8767_REG_LDO22CTRL
,
133 S5M8767_REG_LDO23CTRL
,
134 S5M8767_REG_LDO24CTRL
,
135 S5M8767_REG_LDO25CTRL
,
136 S5M8767_REG_LDO26CTRL
,
137 S5M8767_REG_LDO27CTRL
,
138 S5M8767_REG_LDO28CTRL
,
141 /* S5M8767 regulator ids */
142 enum s5m8767_regulators
{
186 #define S5M8767_ENCTRL_SHIFT 6
188 #endif /* __LINUX_MFD_S5M8767_H */