aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/samsung/s5m-pmic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/samsung/s5m-pmic.h')
-rw-r--r--include/linux/mfd/samsung/s5m-pmic.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/mfd/samsung/s5m-pmic.h b/include/linux/mfd/samsung/s5m-pmic.h
index 7c719f20f58a..562febf73277 100644
--- a/include/linux/mfd/samsung/s5m-pmic.h
+++ b/include/linux/mfd/samsung/s5m-pmic.h
@@ -94,7 +94,7 @@ enum s5m8763_regulators {
94 * @id: regulator id 94 * @id: regulator id
95 * @initdata: regulator init data (contraints, supplies, ...) 95 * @initdata: regulator init data (contraints, supplies, ...)
96 */ 96 */
97struct s5m_regulator_data { 97struct sec_regulator_data {
98 int id; 98 int id;
99 struct regulator_init_data *initdata; 99 struct regulator_init_data *initdata;
100}; 100};
@@ -104,26 +104,26 @@ struct s5m_regulator_data {
104 * @id: regulator id 104 * @id: regulator id
105 * @mode: regulator operation mode 105 * @mode: regulator operation mode
106 */ 106 */
107struct s5m_opmode_data { 107struct sec_opmode_data {
108 int id; 108 int id;
109 int mode; 109 int mode;
110}; 110};
111 111
112/* 112/*
113 * s5m regulator operation mode 113 * samsung regulator operation mode
114 * S5M_OPMODE_OFF Regulator always OFF 114 * SEC_OPMODE_OFF Regulator always OFF
115 * S5M_OPMODE_ON Regulator always ON 115 * SEC_OPMODE_ON Regulator always ON
116 * S5M_OPMODE_LOWPOWER Regulator is on in low-power mode 116 * SEC_OPMODE_LOWPOWER Regulator is on in low-power mode
117 * S5M_OPMODE_SUSPEND Regulator is changed by PWREN pin 117 * SEC_OPMODE_SUSPEND Regulator is changed by PWREN pin
118 * If PWREN is high, regulator is on 118 * If PWREN is high, regulator is on
119 * If PWREN is low, regulator is off 119 * If PWREN is low, regulator is off
120 */ 120 */
121 121
122enum s5m_opmode { 122enum sec_opmode {
123 S5M_OPMODE_OFF, 123 SEC_OPMODE_OFF,
124 S5M_OPMODE_ON, 124 SEC_OPMODE_ON,
125 S5M_OPMODE_LOWPOWER, 125 SEC_OPMODE_LOWPOWER,
126 S5M_OPMODE_SUSPEND, 126 SEC_OPMODE_SUSPEND,
127}; 127};
128 128
129#endif /* __LINUX_MFD_S5M_PMIC_H */ 129#endif /* __LINUX_MFD_S5M_PMIC_H */